ParameterConstraints class

The constraints that the administrator has put on the parameter.

Constructors

ParameterConstraints({String? allowedPattern, List<String>? allowedValues, String? constraintDescription, String? maxLength, String? maxValue, String? minLength, String? minValue})
ParameterConstraints.fromJson(Map<String, dynamic> json)
factory

Properties

allowedPattern String?
A regular expression that represents the patterns that allow for String types. The pattern must match the entire parameter value provided.
final
allowedValues List<String>?
The values that the administrator has allowed for the parameter.
final
constraintDescription String?
A string that explains a constraint when the constraint is violated. For example, without a constraint description, a parameter that has an allowed pattern of A-Za-z0-9+ displays the following error message when the user specifies an invalid value:
final
hashCode int
The hash code for this object.
no setterinherited
maxLength String?
An integer value that determines the largest number of characters you want to allow for String types.
final
maxValue String?
A numeric value that determines the largest numeric value you want to allow for Number types.
final
minLength String?
An integer value that determines the smallest number of characters you want to allow for String types.
final
minValue String?
A numeric value that determines the smallest numeric value you want to allow for Number types.
final
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
toString() String
A string representation of this object.
inherited

Operators

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