Http timeout(int time) { options ..connectTimeout = Duration(milliseconds: time) ..receiveTimeout = Duration(milliseconds: time); return this; }