tagColorListFromJson function

List<TagColor> tagColorListFromJson(
  1. List? tagColor
)

Implementation

List<enums.TagColor> tagColorListFromJson(List? tagColor) {
  if (tagColor == null) {
    return [];
  }

  return tagColor.map((e) => tagColorFromJson(e.toString())).toList();
}