INNER CODE UNIT · Dart
AuthErrorNoInstance
dreautall/waterfly-iii · lib/auth.dart:146
class AuthErrorNoInstance extends AuthError {
const AuthErrorNoInstance(this.host)
: super("Not a valid Firefly III instance");
final String host;
}
class AuthCredentials {
const AuthCredentials({this.host, this.apiKey, this.customHeadersRaw});
final String? host;
final String? apiKey;
final String? customHeadersRaw;
}
http.Client get httpClient => Platform.isAndroid
? CronetClient.fromCronetEngine(
CronetEngine.build(cacheMode: .memory, cacheMaxSize: 2 * 1024 * 1024),