AccessRestrictions.fromJson constructor
AccessRestrictions.fromJson(
- Map json_
Implementation
AccessRestrictions.fromJson(core.Map json_)
: this(
allowedServices: json_.containsKey('allowedServices')
? (json_['allowedServices'] as core.List)
.map((value) => ServiceConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
disableProgrammaticSignin:
json_.containsKey('disableProgrammaticSignin')
? json_['disableProgrammaticSignin'] as core.bool
: null,
);