orientation property Null safety

OrientationSetting orientation

Implementation

OrientationSetting get orientation => _orientation;
void orientation=(OrientationSetting v)

Implementation

set orientation(OrientationSetting v) {
  if (!isMobilePlatform) {
    return;
  }
  _orientation = v;
  _setPlatformOrientation();
  _model.needsSave = true;
}