configure method
void
configure({})
Implementation
void configure({
String Function()? getImageStoreDir,
String Function()? getSessionId,
Future<Uint8List> Function(
Uint8List buffer, {
int? width,
int? height,
String? format,
int? quality,
int? compressionLevel,
bool? palette,
int? colors,
})?
imageProcessor,
Future<({int? width, int? height, String? format})> Function(
Uint8List buffer,
)?
getImageMetadata,
void Function(String, {String? level})? logForDebugging,
void Function(Object)? logError,
void Function(String, Map<String, dynamic>)? logEvent,
}) {
if (getImageStoreDir != null) _getImageStoreDir = getImageStoreDir;
if (getSessionId != null) _getSessionId = getSessionId;
if (imageProcessor != null) _imageProcessor = imageProcessor;
if (getImageMetadata != null) _getImageMetadata = getImageMetadata;
if (logForDebugging != null) _logForDebugging = logForDebugging;
if (logError != null) _logError = logError;
if (logEvent != null) _logEvent = logEvent;
}