FilterAction.fromJson constructor

FilterAction.fromJson(
  1. Map json_
)

Implementation

FilterAction.fromJson(core.Map json_)
    : this(
        addLabelIds: json_.containsKey('addLabelIds')
            ? (json_['addLabelIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        forward: json_.containsKey('forward')
            ? json_['forward'] as core.String
            : null,
        removeLabelIds: json_.containsKey('removeLabelIds')
            ? (json_['removeLabelIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );