PaymentConfiguration.fromJson constructor

PaymentConfiguration.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory PaymentConfiguration.fromJson(Map<String, Object?> json) =>
    PaymentConfiguration(
      enableFx: json["enable_fx"] as bool,
      destination: PaymentConfigurationDestination.fromJson(
        (json["destination"] as Map).cast<String, Object?>(),
      ),
    );