select method
Implementation
@override
Future<PaymentMethod?> select({FilterOptions? filterOptions}) async {
final resultJson = await methodChannel.invokeMethod('select', {
'filterOptions': filterOptions?.toJson(),
});
if (resultJson is Map) {
return PaymentMethod.fromJson(resultJson.cast<String, dynamic>());
} else {
return null;
}
}