PaymentMethodDomainResourcePaymentMethodStatusDetails.fromJson constructor

PaymentMethodDomainResourcePaymentMethodStatusDetails.fromJson(
  1. Object? json
)

Implementation

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