getDeviceInfo method

  1. @override
Future<String?> getDeviceInfo()
override

Implementation

@override
Future<String?> getDeviceInfo() async {
  try {
    String? result = await promiseToFuture(jsgetDeviceInfo(BASE_PORT));
    return result;
  } catch (e) {
    if (e == "ClientNotFound") {
      throw RDClientNotFound("ClientNotFound", "Service Not Running", "Install Client Application");
    }
    rethrow;
  }
}