BackgroundEntity class
Constructors
-
BackgroundEntity({String? backgroundImageId, bool? useProfilePhotoAsBackground, int? beginGradientPosition, int? endGradientPosition, ShadowEntity? shadow, List<
DecorationColorEntity> ? decorationColors, BorderRadiusEntity? borderRadius, bool? border, EdgeInsetsGeometryEntity? padding, EdgeInsetsGeometryEntity? margin})
Properties
- backgroundImageId → String?
-
final
- beginGradientPosition → int?
-
final
- border → bool?
-
final
- borderRadius → BorderRadiusEntity?
-
final
-
decorationColors
→ List<
DecorationColorEntity> ? -
final
- endGradientPosition → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin → EdgeInsetsGeometryEntity?
-
final
- padding → EdgeInsetsGeometryEntity?
-
final
-
props
→ List<
Object?> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadow → ShadowEntity?
-
final
- useProfilePhotoAsBackground → bool?
-
final
Methods
-
copyWith(
{String? backgroundImageId, bool? useProfilePhotoAsBackground, int? beginGradientPosition, int? endGradientPosition, ShadowEntity? shadow, List< DecorationColorEntity> ? decorationColors, BorderRadiusEntity? borderRadius, bool? border, EdgeInsetsGeometryEntity? padding, EdgeInsetsGeometryEntity? margin}) → BackgroundEntity -
enrichedDocument(
Map< String, Object?> theDocument) → Future<Map< String, Object?> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
switchAppId(
{required String newAppId}) → BackgroundEntity -
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}) → BackgroundEntity? -
fromMap(
Object? o, {Map< String, String> ? newDocumentIds}) → BackgroundEntity?