List.fromJson constructor

List.fromJson(
  1. Map json_
)

Implementation

List.fromJson(core.Map json_)
    : this(
        listId: json_.containsKey('listId')
            ? json_['listId'] as core.String
            : null,
        nestingLevel: json_.containsKey('nestingLevel')
            ? (json_['nestingLevel'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  NestingLevel.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );