presentationStyle property Null safety

PresentationStyle presentationStyle

Implementation

PresentationStyle get presentationStyle => PresentationStyle.values
    .byName(js_util.getProperty(this, 'presentationStyle'));
void presentationStyle=(PresentationStyle newValue)

Implementation

set presentationStyle(PresentationStyle newValue) {
  js_util.setProperty(this, 'presentationStyle', newValue.name);
}