Section.fromJson constructor

Section.fromJson(
  1. Map json_
)

Implementation

Section.fromJson(core.Map json_)
    : this(
        header: json_['header'] as core.String?,
        widgets: (json_['widgets'] as core.List?)
            ?.map((value) => WidgetMarkup.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
      );