PaymentSheetShadowParams constructor

  1. @JsonSerializable(explicitToJson: true)
const PaymentSheetShadowParams({
  1. @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? color,
  2. double? opacity,
  3. PaymentSheetShadowOffset? offset,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PaymentSheetShadowParams({
  /// Shadow color
  @JsonKey(toJson: ColorKey.toJson, fromJson: ColorKey.fromJson) Color? color,

  /// Shadow opacity
  double? opacity,

  /// Shadow offset
  PaymentSheetShadowOffset? offset,
}) = _PaymentSheetShadowParams;