ZoneTypeRestriction.fromJson constructor
ZoneTypeRestriction.fromJson(
- Map json_
Implementation
ZoneTypeRestriction.fromJson(core.Map json_)
: this(
enable:
json_.containsKey('enable') ? json_['enable'] as core.bool : null,
whitelistedTypeId: json_.containsKey('whitelistedTypeId')
? (json_['whitelistedTypeId'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);