toJSON method

Map<String, dynamic> toJSON()

Convert the reference to JSON.

Implementation

Map<String,dynamic> toJSON() => {
  CKConstants.RECORD_NAME_FIELD: referenceUUID,
  "zoneID": _zoneID.toJSON()
};