AppRestrictionsSchemaRestriction class Null safety

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.
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.
read-onlyinherited
key String?
The unique key that the product uses to identify the restriction, e.g. "com.google.android.gm.fieldname".
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.
read-onlyinherited
title String?
The name of the restriction.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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