factory Attribute.fromJson(Map<String, dynamic> json) { return Attribute( key: json['key'] as String, value: json['value'] as String?, ); }