Document class
Constructors
-
Document({DocumentEmbedded? embedded, DocumentLinks? links, List<
Map< ? body = const [], DateTime? createdAt, DocumentFile? file, String? id, DocumentPermission? permission, List<String, dynamic> >String> ? tags = const [], String? text, String? type, DateTime? updatedAt}) - Returns a new Document instance.
Properties
-
body
↔ List<
Map< ?String, dynamic> > -
getter/setter pair
- createdAt → DateTime?
-
final
- embedded ↔ DocumentEmbedded?
-
getter/setter pair
- file ↔ DocumentFile?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String?
-
final
- links ↔ DocumentLinks?
-
getter/setter pair
- permission ↔ DocumentPermission?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
getter/setter pair
- text ↔ String?
-
getter/setter pair
- type ↔ String?
-
getter/setter pair
- updatedAt → DateTime?
-
final
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) → Document? -
Returns a new Document instance and imports its values from
json
if it's non-null, null ifjson
is null. -
listFromJson(
List? json) → List< Document> -
mapFromJson(
Map< String, dynamic> ? json) → Map<String, Document> -
mapListFromJson(
Map< String, dynamic> ? json) → Map<String, List< Document> >