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