export method
export the runtime widget to json
Implementation
@override
Map<String, dynamic> export(Widget? widget, BuildContext? buildContext) {
var realWidget = widget as Opacity;
return <String, dynamic>{
"type": widgetName,
"opacity": realWidget.opacity,
"alwaysIncludeSemantics": realWidget.alwaysIncludeSemantics,
"child": DynamicWidgetBuilder.export(realWidget.child, buildContext)
};
}