Future<T> getById(num id) async { return dio.post( '/get', data: { 'id': id, }, ).then( (response) => response.body<T>(), ); }