DocumentModel class Null safety
Constructors
-
DocumentModel({required String documentID, required String appId, String? description, String? content, double? padding, List<
DocumentItemModel> ? images, BackgroundModel? background, StorageConditionsModel? conditions})
Properties
- appId ↔ String
-
read / write, override
- background ↔ BackgroundModel?
-
read / write
- conditions ↔ StorageConditionsModel?
-
read / write
- content ↔ String?
-
read / write
- description ↔ String?
-
read / write
- documentID ↔ String
-
read / write, override
- hashCode → int
-
The hash code for this object. [...]
read-only, override
-
images
↔ List<
DocumentItemModel> ? -
read / write
- padding ↔ double?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
collectReferences(
{String? appId}) → dynamic -
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) → dynamic -
fromEntityPlus(
String documentID, DocumentEntity? entity, {String? appId}) → dynamic
Constants
- id → const String
-
'documents'
- packageName → const String
-
'eliud_pkg_fundamentals'