toJson method
Implementation
Map<String, dynamic> toJson() {
final consoleAccess = this.consoleAccess;
final groups = this.groups;
final password = this.password;
final username = this.username;
return {
if (consoleAccess != null) 'consoleAccess': consoleAccess,
if (groups != null) 'groups': groups,
if (password != null) 'password': password,
if (username != null) 'username': username,
};
}