toString method

  1. @override
String toString()
override

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() => _describe('RuntimeEventFlag', const {
  0: 'none',
  2: 'mapCameraWillChange',
  4: 'mapCameraIsChanging',
  8: 'mapCameraDidChange',
  16: 'mapStyleLoaded',
  32: 'mapLoadingStarted',
  64: 'mapLoadingFinished',
  128: 'mapLoadingFailed',
  256: 'mapIdle',
  512: 'mapRenderError',
  1024: 'mapRenderFrameStarted',
  2048: 'mapRenderFrameFinished',
  4096: 'mapRenderMapStarted',
  8192: 'mapRenderMapFinished',
  16384: 'mapStyleImageMissing',
  32768: 'mapTileAction',
  65536: 'mapSourceChanged',
  131072: 'offlineRegionStatusChanged',
  262144: 'offlineRegionResponseError',
  524288: 'offlineRegionTileCountLimitExceeded',
  1048576: 'mapGlyphsRequested',
  2097152: 'mapGlyphsLoaded',
  4194304: 'mapGlyphsError',
  8388608: 'mapSpriteRequested',
  16777216: 'mapSpriteLoaded',
  33554432: 'mapSpriteError',
  66191358: 'allMapEvents',
  917504: 'allRuntimeEvents',
  67108862: 'all',
});