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
-
- Object
- BackgroundRemovalResult
- BackgroundRemovalSuccess
Constructors
- BackgroundRemovalSuccess({required String sourceRef})
-
const
Properties
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