import method Null safety

  1. @override
bool import(
  1. ImportStack stack
)

Implementation

@override
bool import(ImportStack stack) {
  var artboardImporter = stack.latest<ArtboardImporter>(ArtboardBase.typeKey);
  if (artboardImporter == null) {
    return false;
  }
  artboardImporter.addStateMachine(this);

  return super.import(stack);
}