NextAction.redirectToUrl constructor

  1. @JsonSerializable(explicitToJson: true)
  2. @FreezedUnionValue('urlRedirect')
const NextAction.redirectToUrl({
  1. String? redirectUrl,
})

Contains instructions for redirecting the customer to a certain url in order to authorise the payment.

Implementation

@JsonSerializable(explicitToJson: true)
@FreezedUnionValue('urlRedirect')
const factory NextAction.redirectToUrl({
  /// Url to redirect to
  String? redirectUrl,
}) = _NextActionRedirect;