configure method
void
configure({})
Method to update settings of TalkerDioLogger
Implementation
void configure({
bool? printResponseData,
bool? printResponseHeaders,
bool? printResponseMessage,
bool? printErrorData,
bool? printErrorHeaders,
bool? printErrorMessage,
bool? printRequestData,
bool? printRequestHeaders,
AnsiPen? requestPen,
AnsiPen? responsePen,
AnsiPen? errorPen,
}) {
settings = settings.copyWith(
printRequestData: printRequestData,
printRequestHeaders: printRequestHeaders,
printResponseData: printResponseData,
printErrorData: printErrorData,
printErrorHeaders: printErrorHeaders,
printErrorMessage: printErrorMessage,
printResponseHeaders: printResponseHeaders,
printResponseMessage: printResponseMessage,
requestPen: requestPen,
responsePen: responsePen,
errorPen: errorPen,
);
}