getDeviceId method

Future<String> getDeviceId()

Return the Kochava Device ID.

Implementation

Future<String> getDeviceId() async {
  try {
    return await _channel.invokeMethod(
      'getDeviceId',
    );
  } catch (e) {
    _log("Error: getDeviceId: $e");
    return Future.value("");
  }
}