UniqueGiftBackdropColors constructor

const UniqueGiftBackdropColors({
  1. @JsonKey(name: 'center_color') required int centerColor,
  2. @JsonKey(name: 'edge_color') required int edgeColor,
  3. @JsonKey(name: 'symbol_color') required int symbolColor,
  4. @JsonKey(name: 'text_color') required int textColor,
})

Creates a new UniqueGiftBackdropColors object.

Implementation

const factory UniqueGiftBackdropColors({
  /// The color in the center of the backdrop in RGB format
  @JsonKey(name: 'center_color') required int centerColor,

  /// The color on the edges of the backdrop in RGB format
  @JsonKey(name: 'edge_color') required int edgeColor,

  /// The color to be applied to the symbol in RGB format
  @JsonKey(name: 'symbol_color') required int symbolColor,

  /// The color for the text on the backdrop in RGB format
  @JsonKey(name: 'text_color') required int textColor,
}) = _UniqueGiftBackdropColors;