SectionModel class Null safety
Constructors
-
SectionModel({required String documentID, String? title, String? description, PlatformMediumModel? image, RelativeImagePosition? imagePositionRelative, SectionImageAlignment? imageAlignment, double? imageWidth, List<
LinkModel> ? links})
Properties
- description ↔ String?
-
read / write
- documentID ↔ String
-
read / write, override
- hashCode → int
-
The hash code for this object. [...]
read-only, override
- image ↔ PlatformMediumModel?
-
read / write
- imageAlignment ↔ SectionImageAlignment?
-
read / write
- imagePositionRelative ↔ RelativeImagePosition?
-
read / write
- imageWidth ↔ double?
-
read / write
-
links
↔ List<
LinkModel> ? -
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- title ↔ String?
-
read / write
Methods
-
collectReferences(
{String? appId}) → dynamic -
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) → dynamic -
fromEntityPlus(
String documentID, SectionEntity? entity, {String? appId}) → dynamic
Constants
- id → const String
-
'sections'
- packageName → const String
-
'eliud_pkg_fundamentals'