SqlServerUserDetails.fromJson constructor

SqlServerUserDetails.fromJson(
  1. Map _json
)

Implementation

SqlServerUserDetails.fromJson(core.Map _json)
    : this(
        disabled: _json.containsKey('disabled')
            ? _json['disabled'] as core.bool
            : null,
        serverRoles: _json.containsKey('serverRoles')
            ? (_json['serverRoles'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );