AppRestrictionsSchemaRestriction class

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

Constructors

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

Properties

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

Methods

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

Operators

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