AppRestrictionsSchema.fromJson constructor

AppRestrictionsSchema.fromJson(
  1. Map json_
)

Implementation

AppRestrictionsSchema.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        restrictions: json_.containsKey('restrictions')
            ? (json_['restrictions'] as core.List)
                .map((value) => AppRestrictionsSchemaRestriction.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );