toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "id": id == null ? null : id,
      "name": name == null ? null : name,
      "address": address == null ? null : address,
      "email": email == null ? null : email,
      "logoUrl": logoUrl == null ? null : logoUrl,
      "bannerUrl": bannerUrl == null ? null : bannerUrl,
    };