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'group'] = this.group;
  json[r'roles'] = this.roles;
  return json;
}