Tags.fromJson constructor Null safety
Implementation
Tags.fromJson(Map<String, dynamic> json) {
id = json['id'] ?? '';
type = json['type'] ?? '';
if (json['attributes'] != null) {
attributes = TagAttributes.fromJson(json['attributes']);
}
}