deviceId property Null safety

Future<String> deviceId

A string which is used to uniquely identify the user.

Implementation

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