createModel method

  1. @override
JsonPositionedBuilderModel createModel({
  1. ChildWidgetBuilder? childBuilder,
  2. required JsonWidgetData data,
})
override

Implementation

@override
JsonPositionedBuilderModel createModel({
  ChildWidgetBuilder? childBuilder,
  required JsonWidgetData data,
}) {
  final model = JsonPositionedBuilderModel.fromDynamic(
    args,
    registry: data.jsonWidgetRegistry,
  );

  return model;
}