PaymentMethodDetailsCardNetworkToken.fromJson constructor

PaymentMethodDetailsCardNetworkToken.fromJson(
  1. Object? json
)

Implementation

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