handleSource static method
Handle the source data.
payload
is supposed to be the JSON object content that you created by invoking elepay's
creating source API.
An instance of ElepayResult will be returned to indicate the processing result.
Refere to ElepayResult for more details.
Implementation
static Future<ElepayResult> handleSource(String payload) async {
var params = {"payload": payload};
var sdkResult = await _channel.invokeMethod("handleSource", params);
sdkResult = Map<String, dynamic>.from(sdkResult);
return _processSdkResult(sdkResult);
}