toJson method

Map? toJson()

Implementation

Map? toJson() {
  return widgetToJson(
      widget: this ?? const material_widget.SizedBox.shrink());
}