UniqueGiftBackdropColors class abstract

This object describes the colors of the backdrop of a unique gift.

Available extensions
Annotations
  • @freezed

Constructors

UniqueGiftBackdropColors({@JsonKey.new(name: 'center_color') required int centerColor, @JsonKey.new(name: 'edge_color') required int edgeColor, @JsonKey.new(name: 'symbol_color') required int symbolColor, @JsonKey.new(name: 'text_color') required int textColor})
Creates a new UniqueGiftBackdropColors object.
const
factory
UniqueGiftBackdropColors.fromJson(Map<String, dynamic> json)
Creates a new UniqueGiftBackdropColors object from a JSON Map.
factory

Properties

centerColor → int
The color in the center of the backdrop in RGB format
no setterinherited
copyWith → $UniqueGiftBackdropColorsCopyWith<UniqueGiftBackdropColors>
Create a copy of UniqueGiftBackdropColors with the given fields replaced by the non-null parameter values.
no setterinherited
edgeColor → int
The color on the edges of the backdrop in RGB format
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
symbolColor → int
The color to be applied to the symbol in RGB format
no setterinherited
textColor → int
The color for the text on the backdrop in RGB format
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_UniqueGiftBackdropColors value)) → TResult

Available on UniqueGiftBackdropColors, provided by the UniqueGiftBackdropColorsPatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_UniqueGiftBackdropColors value)?) → TResult?

Available on UniqueGiftBackdropColors, provided by the UniqueGiftBackdropColorsPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_UniqueGiftBackdropColors value)?, {required TResult orElse()}) → TResult

Available on UniqueGiftBackdropColors, provided by the UniqueGiftBackdropColorsPatterns extension

A variant of map that fallback to returning orElse.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes this UniqueGiftBackdropColors to a JSON map.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited