toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'username'] = this.username;
  json[r'firstName'] = this.firstName;
  json[r'lastName'] = this.lastName;
  json[r'email'] = this.email;
  json[r'password'] = this.password;
  json[r'groupId'] = this.groupId;
  json[r'acceptTermsAndConditions'] = this.acceptTermsAndConditions;
  json[r'roles'] = this.roles;
  if (this.expiringAt != null) {
    json[r'expiringAt'] = this.expiringAt;
  }
  json[r'enabled'] = this.enabled;
  return json;
}