iconPath method

String iconPath()

Returns the icon path for the payment method.

Implementation

String iconPath() {
  switch (this) {
    case LocalPaymentMethods.telebirr:
      return AppImages.telebirr;
    case LocalPaymentMethods.mpessa:
      return AppImages.mpesa;
    case LocalPaymentMethods.ebirr:
      return AppImages.ebirr;
    case LocalPaymentMethods.cbebirr:
      return AppImages.cbebirr;
  }
}