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,
"zipCode": zipCode,
"userId": userId,
"businessTitle": businessTitle,
"cityCode": cityCode,
"address": address,
"phoneNumber": phoneNumber,
"title": title,
"landline": landline,
"nationalCode": nationalCode,
"ownerPhoneNumber": ownerPhoneNumber,
"ownerName": ownerName,
"bankAccountId": bankAccountId,
"mcc": mcc,
"adminUserIds": adminUserIds == null ? <dynamic>[] : List<dynamic>.from(adminUserIds!.map((String x) => x)),
};