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