Section.fromJson constructor

Section.fromJson(
  1. Map json_
)

Implementation

Section.fromJson(core.Map json_)
  : this(
      list: json_.containsKey('list')
          ? ListContent.fromJson(
              json_['list'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      text: json_.containsKey('text')
          ? TextContent.fromJson(
              json_['text'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );