FormModel class

Constructors

FormModel({required String id, required String path, required String title, required List<ComponentModel> components})
Constructs a FormModel instance.
FormModel.fromJson(Map<String, dynamic> json)
Factory constructor that creates a FormModel from a Form.io JSON response.
factory

Properties

components List<ComponentModel>
List of form components (fields, panels, etc.)
final
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier of the form (_id in Form.io response).
final
path String
The submission path of the form (used in POST/GET requests).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Title of the form.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the FormModel into a JSON-compatible map.
toString() String
A string representation of this object.
override

Operators

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