PaymentMethodDetailsPromptpay.fromJson constructor

PaymentMethodDetailsPromptpay.fromJson(
  1. Object? json
)

Implementation

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