RelativeOrientationSensor constructor Null safety

RelativeOrientationSensor(
  1. [Map? sensorOptions]
)

Implementation

factory RelativeOrientationSensor([Map? sensorOptions]) {
  if (sensorOptions != null) {
    var sensorOptions_1 = convertDartToNative_Dictionary(sensorOptions);
    return RelativeOrientationSensor._create_1(sensorOptions_1);
  }
  return RelativeOrientationSensor._create_2();
}