FolderEntities.fromJson constructor

FolderEntities.fromJson(
  1. Map json_
)

Implementation

FolderEntities.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        tag: json_.containsKey('tag')
            ? (json_['tag'] as core.List)
                .map((value) => Tag.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        trigger: json_.containsKey('trigger')
            ? (json_['trigger'] as core.List)
                .map((value) => Trigger.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        variable: json_.containsKey('variable')
            ? (json_['variable'] as core.List)
                .map((value) => Variable.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );