toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.syncResult != null) {
    json[r'syncResult'] = this.syncResult;
  } else {
    json[r'syncResult'] = null;
  }
  if (this.exception != null) {
    json[r'exception'] = this.exception;
  } else {
    json[r'exception'] = null;
  }
  if (this.eventId != null) {
    json[r'eventId'] = this.eventId;
  } else {
    json[r'eventId'] = null;
  }
  return json;
}