JsonSchemaState class
Object derived from class Equatable
to store the state of the form.
Constructors
-
JsonSchemaState({@required JsonSchema dataSchema, @required Map<
String, dynamic> layout, @required Map<String, dynamic> data }) -
Creates a JsonSchemaState
using
dataSchema
,layout
, anddata
. - JsonSchemaState.initial()
-
Creates a JsonSchemaState
with default values.
factory
Properties
-
data
→ Map<
String, dynamic> -
Serialization
Map
of the data to be edited.final - dataSchema → JsonSchema
-
JsonSchema
for validation and description of properties inObject
to be edited.final -
layout
→ Map<
String, dynamic> -
Form layout definition
Map
.final -
props
→ List<
Object> -
The
List
ofprops
(properties) which will be used to determine whether twoEquatables
are equal.read-only - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
copyWith(
{JsonSchema dataSchema, Map< String, dynamic> layout, Map<String, dynamic> data }) → JsonSchemaState - Creates a clone of the current JsonSchemaState, replacing any properties that are passed as an argument.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited