Future<Tenant> createToken(int id) async { return dio.post( '/create-token', data: { 'id': id, }, ).then( (response) => response.body<Tenant>(), ); }