SectionEntity class Null safety
Constructors
-
SectionEntity({String? title, String? description, String? imageId, int? imagePositionRelative, int? imageAlignment, double? imageWidth, List<
LinkEntity> ? links})
Properties
- description → String?
-
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- imageAlignment → int?
-
final
- imageId → String?
-
final
- imagePositionRelative → int?
-
final
- imageWidth → double?
-
final
-
links
→ List<
LinkEntity> ? -
final
-
props
→ List<
Object?> -
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- title → String?
-
final
Methods
-
copyWith(
{String? documentID, String? title, String? description, String? imageId, int? imagePositionRelative, int? imageAlignment, double? imageWidth, List< LinkEntity> ? links}) → SectionEntity -
enrichedDocument(
Map< String, Object?> theDocument) → dynamic -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed. [...]
inherited
-
switchAppId(
{required String newAppId}) → SectionEntity -
override
-
toDocument(
) → Map< String, Object?> -
override
-
toJsonString(
) → String -
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Methods
-
fromJsonString(
String json, {Map< String, String> ? newDocumentIds}) → SectionEntity? -
fromMap(
Object? o, {Map< String, String> ? newDocumentIds}) → SectionEntity?