deviceId property Null safety

Future<String> deviceId

Returns a string that is used to uniquely identify the device

Implementation

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