DocumentItemModel class
Constructors
- DocumentItemModel({required String documentID, String? reference, PlatformMediumModel? image})
Properties
- documentID ↔ String
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setteroverride
- image ↔ PlatformMediumModel?
-
getter/setter pair
- reference ↔ String?
-
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? reference, PlatformMediumModel? image}) → DocumentItemModel -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEntity(
{String? appId}) → DocumentItemEntity -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromEntity(
String documentID, DocumentItemEntity? entity) → Future< DocumentItemModel?> -
fromEntityPlus(
String documentID, DocumentItemEntity? entity, {String? appId}) → Future< DocumentItemModel?>
Constants
- id → const String
- packageName → const String