Tag.fromJson constructor

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

Implementation

factory Tag.fromJson(Map<String, dynamic> json) {
  return Tag(
    source: json,
    title: json['title'] as String,
  );
}