FolderEntities.fromJson constructor

FolderEntities.fromJson(
  1. Map json_
)

Implementation

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