start static method
Launches the Braintree Drop-in UI.
The required options can be placed inside the request
object.
See its documentation for more information.
Returns a Future that resolves to a BraintreeDropInResult
containing
all the relevant information, or null
if the selection was canceled.
Implementation
static Future<BraintreeDropInResult?> start(
BraintreeDropInRequest request) async {
var result = await _kChannel.invokeMethod(
'start',
request.toJson(),
);
if (result == null) return null;
return BraintreeDropInResult.fromJson(result);
}