FormData class Null safety

Annotations
  • @freezed

Constructors

FormData({required List<FormField> fields})
const
factory
FormData.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $FormDataCopyWith<FormData>
@JsonKey(ignore: true), read-only, inherited
fields List<FormField>
read-only, inherited
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

getFormField(String key) FormField?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toJsonMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited
updateField(FormField field) FormData

Operators

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