User.fromJson constructor
User.fromJson(
- Map json_
Implementation
User.fromJson(core.Map json_)
: this(
dualPasswordType: json_.containsKey('dualPasswordType')
? json_['dualPasswordType'] as core.String
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
host: json_.containsKey('host') ? json_['host'] as core.String : null,
instance: json_.containsKey('instance')
? json_['instance'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
password: json_.containsKey('password')
? json_['password'] as core.String
: null,
passwordPolicy: json_.containsKey('passwordPolicy')
? UserPasswordValidationPolicy.fromJson(json_['passwordPolicy']
as core.Map<core.String, core.dynamic>)
: null,
project: json_.containsKey('project')
? json_['project'] as core.String
: null,
sqlserverUserDetails: json_.containsKey('sqlserverUserDetails')
? SqlServerUserDetails.fromJson(json_['sqlserverUserDetails']
as core.Map<core.String, core.dynamic>)
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);