getAvailablePaymentChannels method

  1. @override
Future<PaymentChannelsResult> getAvailablePaymentChannels()
override

Method used to fetch payment channels from Tpay

Implementation

@override
Future<PaymentChannelsResult> getAvailablePaymentChannels() async {
  final result = await methodChannel.invokeMethod(getPaymentChannelsMethod);

  return mapPaymentChannelsResult(result);
}