getCountry method

Rx<IsoCode?> getCountry(
  1. OperationDepositKind provider
)

Returns an IsoCode of the provided provider.

Implementation

Rx<IsoCode?> getCountry(OperationDepositKind provider) {
  return switch (provider) {
    OperationDepositKind.paypal => paypal.country,
    OperationDepositKind.artemisUnknown => Rx(null),
  };
}