Future<List<dynamic>> listChans() { return call('nvim_list_chans', args: []) .then<List<dynamic>>((v) => (v as List).cast<dynamic>()); }