AppRestrictionsSchemaRestriction class Null safety

A restriction in the App Restriction Schema represents a piece of configuration that may be pre-applied.


AppRestrictionsSchemaRestriction({AppRestrictionsSchemaRestrictionRestrictionValue? defaultValue, String? description, List<String>? entry, List<String>? entryValue, String? key, List<AppRestrictionsSchemaRestriction>? nestedRestriction, String? restrictionType, String? title})
AppRestrictionsSchemaRestriction.fromJson(Map json_)


defaultValue AppRestrictionsSchemaRestrictionRestrictionValue?
The default value of the restriction.
read / write
description String?
A longer description of the restriction, giving more detail of what it affects.
read / write
entry List<String>?
For choice or multiselect restrictions, the list of possible entries' human-readable names.
read / write
entryValue List<String>?
For choice or multiselect restrictions, the list of possible entries' machine-readable values.
read / write
hashCode int
The hash code for this object.
key String?
The unique key that the product uses to identify the restriction, e.g. "".
read / write
nestedRestriction List<AppRestrictionsSchemaRestriction>?
For bundle or bundleArray restrictions, the list of nested restrictions.
read / write
restrictionType String?
The type of the restriction. Possible string values are:
read / write
runtimeType Type
A representation of the runtime type of the object.
title String?
The name of the restriction.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.