toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.object != null) {
json[r'object'] = this.object;
} else {
json[r'object'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.invitationId != null) {
json[r'invitation_id'] = this.invitationId;
} else {
json[r'invitation_id'] = null;
}
if (this.identifier != null) {
json[r'identifier'] = this.identifier;
} else {
json[r'identifier'] = null;
}
if (this.identifierType != null) {
json[r'identifier_type'] = this.identifierType;
} else {
json[r'identifier_type'] = null;
}
if (this.instanceId != null) {
json[r'instance_id'] = this.instanceId;
} else {
json[r'instance_id'] = null;
}
if (this.createdAt != null) {
json[r'created_at'] = this.createdAt;
} else {
json[r'created_at'] = null;
}
if (this.updatedAt != null) {
json[r'updated_at'] = this.updatedAt;
} else {
json[r'updated_at'] = null;
}
return json;
}