PaymentIntentMobilepay.fromJson constructor

PaymentIntentMobilepay.fromJson(
  1. Object? json
)

Implementation

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