DocumentModel class

Constructors

DocumentModel({required String documentID, required String appId, String? description, String? content, double? padding, List<DocumentItemModel>? images, BackgroundModel? background, StorageConditionsModel? conditions})

Properties

appId ↔ String
getter/setter pairoverride
background ↔ BackgroundModel?
getter/setter pair
conditions ↔ StorageConditionsModel?
getter/setter pair
content ↔ String?
getter/setter pair
description ↔ String?
getter/setter pair
documentID ↔ String
getter/setter pairoverride
hashCode → int
The hash code for this object.
no setteroverride
images ↔ List<DocumentItemModel>?
getter/setter pair
padding ↔ double?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

collectReferences({String? appId}) → Future<List<ModelReference>>
override
copyWith({String? documentID, String? appId, String? description, String? content, double? padding, List<DocumentItemModel>? images, BackgroundModel? background, StorageConditionsModel? conditions}) → DocumentModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) → DocumentEntity
override
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromEntity(String documentID, DocumentEntity? entity) → Future<DocumentModel?>
fromEntityPlus(String documentID, DocumentEntity? entity, {String? appId}) → Future<DocumentModel?>

Constants

id → const String
packageName → const String