getMobId method
Implementation
static Future<dynamic> getMobId(MLSDKScene scene, Function(String mobid, String domain, MLSDKError error) result) {
Map args = {"path": scene.path, "params": scene.params};
Future<dynamic> callback = _channel.invokeMethod(MobLinkMethods.getMobId.name, args);
callback.then((dynamic response) {
if (result != null) {
result(response["mobid"],
response["domain"],
MLSDKError(rawData: response["error"]));
}
});
return callback;
}