PaymentMethodCardTokenParams.fromJson constructor

PaymentMethodCardTokenParams.fromJson(
  1. Object? json
)

Implementation

factory PaymentMethodCardTokenParams.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentMethodCardTokenParams(token: (map['token'] as String));
}