artboard property Null safety

RuntimeArtboard artboard

Implementation

RuntimeArtboard get artboard => _artboard;
void artboard=(Artboard value)

Implementation

set artboard(Artboard value) {
  if (_artboard == value) {
    return;
  }
  _artboard.redraw.removeListener(scheduleRepaint);
  _artboard = value as RuntimeArtboard;
  _artboard.redraw.addListener(scheduleRepaint);
  markNeedsLayout();
}