SubmissionModel class

Constructors

SubmissionModel({String? id, required Map<String, dynamic> data, DateTime? created, DateTime? modified, String? owner})
SubmissionModel.fromJson(Map<String, dynamic> json)
Creates a SubmissionModel from Form.io JSON response.
factory

Properties

created DateTime?
Timestamp of when the submission was created.
final
data Map<String, dynamic>
The actual form data submitted by the user.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
Unique identifier of the submission in Form.io.
final
modified DateTime?
Timestamp of last modification, if applicable.
final
owner String?
ID of the user who created this submission, if authenticated.
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>
Converts the model into JSON for POST requests.
toString() String
A string representation of this object.
inherited

Operators

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