PaymentMethodDetailsOxxo.fromJson constructor

PaymentMethodDetailsOxxo.fromJson(
  1. Object? json
)

Implementation

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