ParameterMetadata class
Metadata for a specific parameter.
Constructors
-
ParameterMetadata({Map<
String, String> ? customMetadata, String? defaultValue, List<ParameterMetadataEnumOption> ? enumOptions, String? groupName, String? helpText, bool? isOptional, String? label, String? name, String? paramType, String? parentName, List<String> ? parentTriggerValues, List<String> ? regexes}) - ParameterMetadata.fromJson(Map json_)
Properties
-
customMetadata
↔ Map<
String, String> ? -
Additional metadata for describing this parameter.
getter/setter pair
- defaultValue ↔ String?
-
The default values will pre-populate the parameter with the given value
from the proto.
getter/setter pair
-
enumOptions
↔ List<
ParameterMetadataEnumOption> ? -
The options shown when ENUM ParameterType is specified.
getter/setter pair
- groupName ↔ String?
-
Specifies a group name for this parameter to be rendered under.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- helpText ↔ String?
-
The help text to display for the parameter.
getter/setter pair
- isOptional ↔ bool?
-
Whether the parameter is optional.
getter/setter pair
- label ↔ String?
-
The label to display for the parameter.
getter/setter pair
- name ↔ String?
-
The name of the parameter.
getter/setter pair
- paramType ↔ String?
-
The type of the parameter.
getter/setter pair
- parentName ↔ String?
-
Specifies the name of the parent parameter.
getter/setter pair
-
parentTriggerValues
↔ List<
String> ? -
The value(s) of the 'parent_name' parameter which will trigger this
parameter to be shown.
getter/setter pair
-
regexes
↔ List<
String> ? -
Regexes that the parameter must match.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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