ManagedProperty class

A managed property of a managed configuration.

The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.

Constructors

ManagedProperty({String? key, bool? valueBool, ManagedPropertyBundle? valueBundle, List<ManagedPropertyBundle>? valueBundleArray, int? valueInteger, String? valueString, List<String>? valueStringArray})
ManagedProperty.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
key String?
The unique key that identifies the property.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueBool bool?
The boolean value - this will only be present if type of the property is bool.
getter/setter pair
valueBundle ManagedPropertyBundle?
The bundle of managed properties - this will only be present if type of the property is bundle.
getter/setter pair
valueBundleArray List<ManagedPropertyBundle>?
The list of bundles of properties - this will only be present if type of the property is bundle_array.
getter/setter pair
valueInteger int?
The integer value - this will only be present if type of the property is integer.
getter/setter pair
valueString String?
The string value - this will only be present if type of the property is string, choice or hidden.
getter/setter pair
valueStringArray List<String>?
The list of string values - this will only be present if type of the property is multiselect.
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