DocumentData class

Constructors

DocumentData({String? container, DocumentDataFile? file, DocumentDataPermission? permission, String? template, String? type})
Returns a new DocumentData instance.

Properties

container String?
getter/setter pair
file DocumentDataFile?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
permission DocumentDataPermission?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
template String?
getter/setter pair
type String?
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(Map<String, dynamic>? json) DocumentData?
Returns a new DocumentData instance and imports its values from json if it's non-null, null if json is null.
listFromJson(List? json) List<DocumentData>
mapFromJson(Map<String, dynamic>? json) Map<String, DocumentData>
mapListFromJson(Map<String, dynamic>? json) Map<String, List<DocumentData>>