deviceId property Null safety

Future<String> deviceId

Returns a string that is used to uniquely identify the device.

Implementation

static Future<String> get deviceId async {
  return _invokeSdkMethod<Map<Object?, Object?>>(SdkMethod.getDeviceID)
      .then((value) {
    return deserializeDeviceId(value);
  });
}