ListContent.fromJson constructor

ListContent.fromJson(
  1. Map json_
)

Implementation

ListContent.fromJson(core.Map json_)
  : this(
      listItems:
          (json_['listItems'] as core.List?)
              ?.map(
                (value) => ListItem.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
    );