TagUpdate.fromJson constructor

TagUpdate.fromJson(
  1. Map<String, dynamic> data
)

Implementation

TagUpdate.fromJson(Map<String, dynamic> data)
    : tags = (data["tags"] as List<dynamic>).map((e) => Tag.fromJson(e)).toList(),
      selectionHistory = (data["selectionHistory"] as List<dynamic>).map((e) => e as String).toList();