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