toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.message != null) {
json[r'message'] = this.message;
} else {
json[r'message'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
json[r'connectorId'] = this.connectorId;
json[r'syncCount'] = this.syncCount;
json[r'syncStatus'] = this.syncStatus;
return json;
}