AppRestrictionsSchemaRestrictionRestrictionValue.fromJson constructor

AppRestrictionsSchemaRestrictionRestrictionValue.fromJson(
  1. Map json_
)

Implementation

AppRestrictionsSchemaRestrictionRestrictionValue.fromJson(core.Map json_)
    : this(
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        valueBool: json_.containsKey('valueBool')
            ? json_['valueBool'] as core.bool
            : null,
        valueInteger: json_.containsKey('valueInteger')
            ? json_['valueInteger'] as core.int
            : null,
        valueMultiselect: json_.containsKey('valueMultiselect')
            ? (json_['valueMultiselect'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        valueString: json_.containsKey('valueString')
            ? json_['valueString'] as core.String
            : null,
      );