toJson method
Implementation
Map<String, Object?> toJson() {
var displayName = this.displayName;
var email = this.email;
var fullName = this.fullName;
final json = <String, Object?>{};
if (displayName != null) {
json[r'displayName'] = displayName;
}
if (email != null) {
json[r'email'] = email;
}
if (fullName != null) {
json[r'fullName'] = fullName;
}
return json;
}