ConvertOutcome class final
How one input ended.
A final class with const instances rather than an enum, the shape the
structure rule asks of a published set a later release may add to.
Properties
- exitCode → int
-
The process exit code an input ending this way asks for. The command
exits with the most serious one any input asked for.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The word the report prints.
final
- 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
Static Methods
-
byName(
String name) → ConvertOutcome? -
The value called
name, or null for a name this version does not know, which is what a file written by a later version can carry.
Constants
- converted → const ConvertOutcome
- Converted. Exit code 0.
- failed → const ConvertOutcome
- Could not be read or written. Exit code 1.
- missingTool → const ConvertOutcome
- Needs a program that is not installed (FBX2glTF, Blender). Exit code 3.
-
values
→ const List<
ConvertOutcome> - Every value this version names, in declaration order. A later version appends; nothing is removed or renamed within a major.
- wouldOverwrite → const ConvertOutcome
-
Would replace a file that differs, and
--overwritewas not given. Exit code 4.