toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.firstName != null) {
json[r'firstName'] = this.firstName;
}
if (this.lastName != null) {
json[r'lastName'] = this.lastName;
}
if (this.password != null) {
json[r'password'] = this.password;
}
if (this.enabled != null) {
json[r'enabled'] = this.enabled;
}
if (this.notificationToken != null) {
json[r'notificationToken'] = this.notificationToken;
}
return json;
}