ENVData class

Constructors

ENVData({bool isLoading = false, Future<void> onError(Response error)?, Future<void> onProgress(int start, int total)?, Future<void> onSuccess(Response success)?, Future<void> onException(Object exception)?, String? baseUrl, Future<void> onTimeout(Object exception)?, Duration? timeoutDuration, bool? debug = false, bool ignoreBadCertificate = false, RequestData? globalData, Future<void> onAuthError(Response error, BuildContext context)?, String? replacementId, bool processOnlyThisPage = true})

Properties

baseUrl String?
getter/setter pair
debug bool?
getter/setter pair
globalData RequestData?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ignoreBadCertificate bool
getter/setter pair
isLoading bool
getter/setter pair
onAuthError Future<void> Function(Response error, BuildContext context)?
getter/setter pair
onError Future<void> Function(Response error)?
getter/setter pair
onException Future<void> Function(Object exception)?
getter/setter pair
onProgress Future<void> Function(int start, int total)?
getter/setter pair
onSuccess Future<void> Function(Response success)?
getter/setter pair
onTimeout Future<void> Function(Object exception)?
getter/setter pair
processOnlyThisPage bool
getter/setter pair
replacementId String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeoutDuration Duration?
getter/setter pair

Methods

convertUTF8() Future<List<int>>
getUrl() String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited