PaymentIntentNextActionKonbiniStores.fromJson constructor

PaymentIntentNextActionKonbiniStores.fromJson(
  1. Object? json
)

Implementation

factory PaymentIntentNextActionKonbiniStores.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return PaymentIntentNextActionKonbiniStores(
    familymart: map['familymart'] == null
        ? null
        : PaymentIntentNextActionKonbiniSeicomart.fromJson(map['familymart']),
    lawson: map['lawson'] == null
        ? null
        : PaymentIntentNextActionKonbiniSeicomart.fromJson(map['lawson']),
    ministop: map['ministop'] == null
        ? null
        : PaymentIntentNextActionKonbiniSeicomart.fromJson(map['ministop']),
    seicomart: map['seicomart'] == null
        ? null
        : PaymentIntentNextActionKonbiniSeicomart.fromJson(map['seicomart']),
  );
}