Translations.fromJson(Map<String, dynamic> json) { id = json['id']; resourceId = json['resource_id']; text = json['text']; }