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