getTextCode static method
Implementation
static Future getTextCode(String phoneNumber, String zone, String tempCode,
Function(dynamic ret, Map? err) result) {
Map args = {"phoneNumber": phoneNumber, "zone": zone, "tempCode": tempCode};
Future<dynamic> callback = _channel.invokeMethod('getTextCode', args);
callback.then((dynamic response) {
if (response is Map) {
result(response["ret"], response["err"]);
} else {
result(null, null);
}
});
return callback;
}