sendDeviceSignature static method

Future<bool> sendDeviceSignature(
  1. String screenName
)

Implementation

static Future<bool> sendDeviceSignature(String screenName) async {
  var status = false;
  try {
    status = await _channel.invokeMethod("sendDeviceSignature", {
      "screenName": screenName
    }).timeout(const Duration(seconds: 5), onTimeout: () {
      //If the result not comeback in 5 seconds, just time out
      return false;
    });
  } catch (_) {}
  return status;
}