TokenResponse constructor
const
TokenResponse({
- Token? token,
- StripeError? error,
Implementation
const factory TokenResponse({
/// If not null, a Token was created successfully.
Token? token,
/// If not null, an error occurred.
/// This includes client-side validation errors
StripeError? error,
}) = _TokenResponse;