import method

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

Implementation

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

  return super.import(stack);
}