AppRestrictionsSchemaRestriction.fromJson constructor
AppRestrictionsSchemaRestriction.fromJson(
- Map json_
Implementation
AppRestrictionsSchemaRestriction.fromJson(core.Map json_)
: this(
defaultValue: json_.containsKey('defaultValue')
? AppRestrictionsSchemaRestrictionRestrictionValue.fromJson(
json_['defaultValue'] as core.Map<core.String, core.dynamic>)
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
entry: json_.containsKey('entry')
? (json_['entry'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
entryValue: json_.containsKey('entryValue')
? (json_['entryValue'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
key: json_.containsKey('key') ? json_['key'] as core.String : null,
nestedRestriction: json_.containsKey('nestedRestriction')
? (json_['nestedRestriction'] as core.List)
.map((value) => AppRestrictionsSchemaRestriction.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
restrictionType: json_.containsKey('restrictionType')
? json_['restrictionType'] as core.String
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
);