InputConstraints class

Input constraints.

Annotations
  • @JsonSerializable(createFactory: true, createToJson: true, explicitToJson: true)

Constructors

InputConstraints({int? maxNumFields, int? minNumFields})
Create a new input constraints.
const
InputConstraints.fromJson(Map<String, dynamic> json)
Input constraints from JSON factory constructor.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
maxNumFields int?
Max field number.
final
minNumFields int?
Min field number.
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
toJson() Map<String, dynamic>
Input constraints as JSON map.
toString() String
Input constraints as JSON string.
override

Operators

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