BackgroundRemovalSuccess class final

Successful background removal.

sourceRef must be a new, non-blank, durable, host-resolvable reference that can be persisted directly in CanvasFields.imageSource.

For the initial background-removal contract, the returned image must:

  • be static;
  • support transparency;
  • preserve the input's display-oriented raster width and height exactly.

The editor intentionally does not receive bytes, MIME types, dimensions, provider metadata, or storage details.

Inheritance

Constructors

BackgroundRemovalSuccess({required String sourceRef})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceRef String
final

Methods

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

Operators

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