Authentication.fromJson constructor
Authentication.fromJson(
- Map json_
Implementation
Authentication.fromJson(core.Map json_)
: this(
providers:
(json_['providers'] as core.List?)
?.map(
(value) => AuthProvider.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
rules:
(json_['rules'] as core.List?)
?.map(
(value) => AuthenticationRule.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
);