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