PaymentMethodDetailsPaynow.fromJson constructor

PaymentMethodDetailsPaynow.fromJson(
  1. Object? json
)

Implementation

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