SectionModel class

Constructors

SectionModel({required String documentID, String? title, String? description, PlatformMediumModel? image, RelativeImagePosition? imagePositionRelative, SectionImageAlignment? imageAlignment, double? imageWidth, List<LinkModel>? links})

Properties

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 SectionImageAlignment?
getter/setter pair
imagePositionRelative RelativeImagePosition?
getter/setter pair
imageWidth double?
getter/setter pair
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
getter/setter pair

Methods

collectReferences({String? appId}) Future<List<ModelReference>>
override
copyWith({String? documentID, String? title, String? description, PlatformMediumModel? image, RelativeImagePosition? imagePositionRelative, SectionImageAlignment? imageAlignment, double? imageWidth, List<LinkModel>? links}) SectionModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) SectionEntity
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromEntity(String documentID, SectionEntity? entity) Future<SectionModel?>
fromEntityPlus(String documentID, SectionEntity? entity, {String? appId}) Future<SectionModel?>

Constants

id → const String
packageName → const String