showBanks static method
Returns true if launch bank chooser widget is successful.
Implementation
static Future<bool> showBanks(String url) async {
final Uri uri = Uri.parse(url.trimLeft());
final bool isWebURL = uri.scheme == 'http' || uri.scheme == 'https';
if (!isWebURL) {
throw PlatformException(
code: 'NOT_A_WEB_SCHEME',
message:
'You need to pass in a web URL. This $url is not a web URL.');
}
return SbpPaymentsPlatform.instance.showBanks(url);
}