UserMetaPreference.fromJson constructor

UserMetaPreference.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UserMetaPreference.fromJson(Map<String, dynamic> json) => UserMetaPreference(
  receivedpaymentpush: json["receivedpaymentpush"],
  receivedpaymentsms: json["receivedpaymentsms"],
  receivedpaymentemail: json["receivedpaymentemail"],
  transferpush: json["transferpush"],
  transfersms: json["transfersms"],
  transferemail: json["transferemail"],
  receivedorderspush: json["receivedorderspush"],
  receivedordersms: json["receivedordersms"],
  receivedorderemail: json["receivedorderemail"],
  receivedrequestforpaymentpush: json["receivedrequestforpaymentpush"],
  receivedrequestforpaymentsms: json["receivedrequestforpaymentsms"],
  receivedrequestforpaymentemail: json["receivedrequestforpaymentemail"],
  orderpush: json["orderpush"],
  ordersms: json["ordersms"],
  orderemail: json["orderemail"],
  lastloginip: json["lastloginip"],
  lastlogindatetime: json["lastlogindatetime"] == null ? null : DateTime.parse(json["lastlogindatetime"]),
  createdby: json["createdby"],
  modifiedby: json["modifiedby"],
  isplayasound: json["isplayasound"],
  isArabic: json["isArabic"],
  isInternational: json["isInternational"],
  maxaddfundamt: json["maxaddfundamt"],
  allowrecurringpayment: json["allowrecurringpayment"],
  reminderdays: json["reminderdays"],
  issavecreditcardajax: json["issavecreditcardajax"],
  isallowsecretkey: json["isallowsecretkey"],
  assignedoriginator: json["assignedoriginator"],
  isusercomission: json["isusercomission"],
  isinternationalcreditcard: json["isinternationalcreditcard"],
  allowcountries: json["allowcountries"],
  isdebitcardallowforwebcheckout: json["isdebitcardallowforwebcheckout"],
  allowCountryHistory: json["allowCountryHistory"],
  receiveotpvia: json["receiveotpvia"],
  isallowedtosavecard: json["isallowedtosavecard"],
  isallowedtodirectpayment: json["isallowedtodirectpayment"],
  isallowedtocybersourcevisa: json["isallowedtocybersourcevisa"],
  isallowedtocybersourcemastercard: json["isallowedtocybersourcemastercard"],
  isallowedtoapplepay: json["isallowedtoapplepay"],
  isallowedtogooglepay: json["isallowedtogooglepay"],
  isallowedtoamex: json["isallowedtoamex"],
  id: json["id"],
  userId: json["userId"] == null ? "" : json["userId"].toString(),
  user: json["user"] == null ? null : User.fromJson(json["user"]),
);