JobResult class

Result object containing the output of a tile rendering job.

This class encapsulates the results of a rendering operation, including the generated tile picture, rendering status, and optional render information for label extraction and debugging purposes.

Key features:

  • Multiple result states (normal, error, unsupported)
  • Optional tile picture output
  • Render information for label extraction
  • Factory constructors for different result types

Note that the jobResult may hold a TilePicture object which must be disposed after use.

Constructors

JobResult.error(TilePicture? _picture)
Creates an error job result with optional error picture.
JobResult.normal(TilePicture? _picture, [RenderInfoCollection? _renderInfo])
Creates a successful job result with optional render information.
JobResult.normalLabels(RenderInfoCollection? _renderInfo)
_renderInfo render information for labels
JobResult.unsupported()
Creates an unsupported job result for tiles with no data.

Properties

hashCode int
The hash code for this object.
no setterinherited
picture TilePicture?
Gets the generated tile picture, null if unavailable.
no setter
renderInfo → RenderInfoCollection?
Gets the render information for label extraction, null if unavailable.
no setter
result JOBRESULT
Gets the rendering operation status.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited