toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "code": code,
  "title": title,
  "registrationNumber": registrationNumber,
  "nationalCode": nationalCode,
  "representative": representative,
  "address": address,
  "postalCode": postalCode,
  "phoneNumber": phoneNumber,
  "sign1Base64": sign1Base64,
  "sign1Owner": sign1Owner,
  "sign2Base64": sign2Base64,
  "sign2Owner": sign2Owner,
  "logoBase64": logoBase64,
  "id": id,
  "detail1": detail1,
  "detail2": detail2,
  "addTags": addTags == null ? <dynamic>[] : List<dynamic>.from(addTags!.map((int x) => x)),
  "removeTags": removeTags == null ? <dynamic>[] : List<dynamic>.from(removeTags!.map((int x) => x)),
  "tags": tags == null ? <dynamic>[] : List<dynamic>.from(tags!.map((int x) => x)),
  "adminUserIds": adminUserIds == null ? <dynamic>[] : List<dynamic>.from(adminUserIds!.map((String x) => x)),
  "addAdminUserIds": addAdminUserIds == null ? <dynamic>[] : List<dynamic>.from(addAdminUserIds!.map((String x) => x)),
  "removeAdminUserIds": removeAdminUserIds == null ? <dynamic>[] : List<dynamic>.from(removeAdminUserIds!.map((String x) => x)),
};