Tag.fromJson constructor

Tag.fromJson(
  1. Map<String, dynamic> tags
)

Implementation

Tag.fromJson(Map<String, dynamic> tags)
    : id = tags['id'] as String,
      text = tags['text'] as String;