BackgroundRemovalFailureKind enum
Broad, editor-relevant failure classification for background removal.
Hosts may have substantially richer internal failure types. They should map those failures to this small public taxonomy at the Canvas boundary.
Values
- unsupported → const BackgroundRemovalFailureKind
-
The selected input cannot be processed by this host capability.
-
The capability exists but cannot currently perform the operation.
Examples include a temporarily unavailable local model or remote service.
- failed → const BackgroundRemovalFailureKind
-
The operation failed for another reason.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
BackgroundRemovalFailureKind> - A constant List of the values in this enum, in order of their declaration.