PaymentMethodDetailsKonbiniStore.fromJson constructor

PaymentMethodDetailsKonbiniStore.fromJson(
  1. Object? json
)

Implementation

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