UMoadiCreateParams.fromMap constructor
UMoadiCreateParams.fromMap(
- Map<String, dynamic> json
)
Implementation
factory UMoadiCreateParams.fromMap(Map<String, dynamic> json) => UMoadiCreateParams(
detail1: json["detail1"],
detail2: json["detail2"],
tags: json["tags"] == null ? <int>[] : List<int>.from(json["tags"]!.map((dynamic x) => x)),
id: json["id"],
creatorId: json["creatorId"],
userId: json["userId"],
name: json["name"],
economicCode: json["economicCode"],
legalEntity: json["legalEntity"],
uniqueTaxCode: json["uniqueTaxCode"],
ownerName: json["ownerName"],
ownerMobile: json["ownerMobile"],
ownerNationalCode: json["ownerNationalCode"],
nationalCode: json["nationalCode"],
postalCode: json["postalCode"],
registrationDate: json["registrationDate"],
registrationNumber: json["registrationNumber"],
address: json["address"],
startInvoiceNumber: json["startInvoiceNumber"],
introductionCode: json["introductionCode"],
adminUserIds: json["adminUserIds"] == null ? <String>[] : List<String>.from(json["adminUserIds"]!.map((dynamic x) => x)),
);