toString method

  1. @override
String toString()
inherited

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.

Implementation

@override
String toString() {
  final _this = this as ImageParams;
  return 'ImageParams(width: ${_this.width}, height: ${_this.height}, size: ${_this.size}, fit: ${_this.fit}, borderRadius: ${_this.borderRadius}, shape: ${_this.shape}, enableMemoryCache: ${_this.enableMemoryCache}, heroTag: ${_this.heroTag}, isSelected: ${_this.isSelected}, errorWidget: ${_this.errorWidget}, onTap: ${_this.onTap}, color: ${_this.color}, clearMemoryCacheIfFailed: ${_this.clearMemoryCacheIfFailed}, clearMemoryCacheWhenDispose: ${_this.clearMemoryCacheWhenDispose}, gaplessPlayback: ${_this.gaplessPlayback}, colorBlendMode: ${_this.colorBlendMode}, filterQuality: ${_this.filterQuality}, scale: ${_this.scale}, headers: ${_this.headers}, cache: ${_this.cache}, retries: ${_this.retries}, timeLimit: ${_this.timeLimit}, timeRetry: ${_this.timeRetry}, cancelToken: ${_this.cancelToken}, cacheKey: ${_this.cacheKey}, printError: ${_this.printError}, cacheRawData: ${_this.cacheRawData}, imageCacheName: ${_this.imageCacheName}, cacheMaxAge: ${_this.cacheMaxAge}, cacheWidth: ${_this.cacheWidth}, cacheHeight: ${_this.cacheHeight}, compressionRatio: ${_this.compressionRatio}, maxBytes: ${_this.maxBytes}, package: ${_this.package}, bundle: ${_this.bundle}, customCompletedWidget: ${_this.customCompletedWidget}, customLoadingWidget: ${_this.customLoadingWidget}, initEditorConfigHandler: ${_this.initEditorConfigHandler}, extendedImageEditorKey: ${_this.extendedImageEditorKey}, mode: ${_this.mode})';
}