toJson method

Map<String, dynamic> toJson()

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!,
    };