FlintClient constructor
FlintClient({
- String? baseUrl,
- Map<
String, String> headers = const {}, - Map<
String, dynamic> defaultQueryParameters = const {}, - Duration timeout = const Duration(seconds: 30),
- ErrorHandler? onError,
- bool throwIfError = false,
- RequestDoneCallback? onDone,
- bool debug = false,
- StatusCodeConfig statusCodeConfig = const StatusCodeConfig(),
Implementation
FlintClient({
this.baseUrl,
this.headers = const {},
this.defaultQueryParameters = const {},
this.timeout = const Duration(seconds: 30),
this.onError,
this.throwIfError = false,
this.onDone,
this.debug = false,
this.statusCodeConfig = const StatusCodeConfig(),
});