// To parse this JSON data, do
//
//     final replacementList = replacementListFromJson(jsonString);

import 'dart:convert';

ReplacementList replacementListFromJson(String str) => ReplacementList.fromJson(json.decode(str));

String replacementListToJson(ReplacementList data) => json.encode(data.toJson());

class ReplacementList {
  ReplacementList({
    this.emailAddress,
    this.employeeDisplayName,
    this.employeeImage,
    this.fromRowNum,
    this.isFavorite,
    this.noOfRows,
    this.rowNum,
    this.toRowNum,
    this.userName,
  });

  final String? emailAddress;
  final String? employeeDisplayName;
  final String? employeeImage;
  final int? fromRowNum;
   bool? isFavorite;
  final int? noOfRows;
  final int? rowNum;
  final int? toRowNum;
  final String? userName;

  factory ReplacementList.fromJson(Map<String, dynamic> json) => ReplacementList(
    emailAddress: json["EMAIL_ADDRESS"] == null ? null : json["EMAIL_ADDRESS"],
    employeeDisplayName: json["EMPLOYEE_DISPLAY_NAME"] == null ? null : json["EMPLOYEE_DISPLAY_NAME"],
    employeeImage: json["EMPLOYEE_IMAGE"] == null ? null : json["EMPLOYEE_IMAGE"],
    fromRowNum: json["FROM_ROW_NUM"] == null ? null : json["FROM_ROW_NUM"],
    isFavorite: json["IsFavorite"] == null ? null : json["IsFavorite"],
    noOfRows: json["NO_OF_ROWS"] == null ? null : json["NO_OF_ROWS"],
    rowNum: json["ROW_NUM"] == null ? null : json["ROW_NUM"],
    toRowNum: json["TO_ROW_NUM"] == null ? null : json["TO_ROW_NUM"],
    userName: json["USER_NAME"] == null ? null : json["USER_NAME"],
  );

  Map<String, dynamic> toJson() => {
    "EMAIL_ADDRESS": emailAddress == null ? null : emailAddress,
    "EMPLOYEE_DISPLAY_NAME": employeeDisplayName == null ? null : employeeDisplayName,
    "EMPLOYEE_IMAGE": employeeImage == null ? null : employeeImage,
    "FROM_ROW_NUM": fromRowNum == null ? null : fromRowNum,
    "IsFavorite": isFavorite == null ? null : isFavorite,
    "NO_OF_ROWS": noOfRows == null ? null : noOfRows,
    "ROW_NUM": rowNum == null ? null : rowNum,
    "TO_ROW_NUM": toRowNum == null ? null : toRowNum,
    "USER_NAME": userName == null ? null : userName,
  };
}
