toJson method
Implementation
Map<String, Object?> toJson() {
var application = this.application;
var globalId = this.globalId;
var id = this.id;
var object = this.object;
var relationship = this.relationship;
var self = this.self;
final json = <String, Object?>{};
if (application != null) {
json[r'application'] = application.toJson();
}
if (globalId != null) {
json[r'globalId'] = globalId;
}
if (id != null) {
json[r'id'] = id;
}
if (object != null) {
json[r'object'] = object.toJson();
}
if (relationship != null) {
json[r'relationship'] = relationship;
}
if (self != null) {
json[r'self'] = self;
}
return json;
}