AuthenticationRule.fromJson constructor
AuthenticationRule.fromJson(
- Map json_
Implementation
AuthenticationRule.fromJson(core.Map json_)
: this(
allowWithoutCredential: json_.containsKey('allowWithoutCredential')
? json_['allowWithoutCredential'] as core.bool
: null,
oauth: json_.containsKey('oauth')
? OAuthRequirements.fromJson(
json_['oauth'] as core.Map<core.String, core.dynamic>)
: null,
requirements: json_.containsKey('requirements')
? (json_['requirements'] as core.List)
.map((value) => AuthRequirement.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
selector: json_.containsKey('selector')
? json_['selector'] as core.String
: null,
);