Map<String, dynamic> get json => { 'languages': { 'file': { 'path': filename, }, 'list': items.map((e) => <String, String>{ 'id': e.id, 'title': e.title, }), } };