toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (databaseRoles != null) 'databaseRoles': databaseRoles!,
if (name != null) 'name': name!,
if (password != null) 'password': password!,
if (userType != null) 'userType': userType!,
};