Returns a Dio client to use in queries.
Future<Dio> get dio async { client ??= Dio( BaseOptions(headers: {if (!isWeb) 'User-Agent': await userAgent}), ); return client!; }