RequestApiHelperData class

Inheritance

Constructors

RequestApiHelperData({String? baseUrl, Map<String, dynamic>? body, bool bodyIsJson = false, Map<String, String>? header, dynamic onSuccess(dynamic)?, bool? debug, GlobalKey<NavigatorState>? navigatorKey, FileData? file, dynamic onAuthError(BuildContext)?, dynamic onError(Response)?, Duration? timeout, dynamic onTimeout(Response)?})

Properties

baseUrl String?
getter/setter pair
body Map<String, dynamic>?
getter/setter pair
bodyIsJson bool
getter/setter pair
debug bool?
getter/setter pair
file FileData?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
getter/setter pair
getter/setter pair
onAuthError ↔ dynamic Function(BuildContext)?
getter/setter pair
onError ↔ dynamic Function(Response)?
getter/setter pair
onSuccess ↔ dynamic Function(dynamic)?
getter/setter pair
onTimeout ↔ dynamic Function(Response)?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration?
getter/setter pair

Methods

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