toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => {
      "id": id,
      "name": name,
      "address": address,
      "bounds": bounds.toJson(),
      "boundsRotated": boundsRotated.toJson(),
      "center": center.toJson(),
      "width": width,
      "height": height,
      "pictureThumbUrl": pictureThumbUrl,
      "pictureUrl": pictureUrl,
      "rotation": rotation,
      "userIdentifier": userIdentifier,
      "customFields": customFields,
      "createdAt": createdAt,
      "updatedAt": updatedAt
    };