JsonString class base

Inheritance

Constructors

JsonString(String name, {String? helper, bool isRequired = false})

Properties

defaultValue ↔ String?
Default value for the field
getter/setter pairinherited
error ↔ String?
Field message: error
getter/setter pairinherited
hasError → bool
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
helper ↔ String?
Helper text when the field is displayed in a form
getter/setter pairinherited
information ↔ String?
Field message: information
getter/setter pairinherited
isNotNull → bool
Check if the data is not null
no setterinherited
isNull → bool
Check if the data is null
no setterinherited
isRequired ↔ bool
If this field is required or not
getter/setter pairinherited
name ↔ String
Field name
getter/setter pairinherited
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
rawValue → String?
Raw value (nullable)
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
value ↔ String
value getter
getter/setter pairinherited
warning ↔ String?
Field message: warning
getter/setter pairinherited

Methods

fromJSON(dynamic json) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() → dynamic
Converts the internal value of the field to a JSON representation.
inherited
toString() → String
Convert this field to String
inherited
validate() → String?
inherited

Operators

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