Target class final
- Implemented types
Constructors
- Target.fromArchitectureAndOS(Architecture architecture, OS os)
-
factory
- Target.fromDartPlatform(String versionStringFull)
-
The Target corresponding the substring of Platform.version
describing the Target.
factory
- Target.fromString(String target)
-
factory
Properties
- abi → Abi
-
final
- architecture → Architecture
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- os → OS
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareTo(
Target other) → int -
Compares
this
toother
.override -
dartVMToString(
) → String - As used in Platform.version.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
supportedTargetTargets(
{Map< OS, List< osCrossCompilation = OS.osCrossCompilationDefault}) → List<OS> >Target> - A list of supported target Targets from this host os.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- androidArm → const Target
- androidArm64 → const Target
- androidIA32 → const Target
- androidRiscv64 → const Target
- androidX64 → const Target
- fuchsiaArm64 → const Target
- fuchsiaX64 → const Target
- iOSArm → const Target
- iOSArm64 → const Target
- iOSX64 → const Target
- linuxArm → const Target
- linuxArm64 → const Target
- linuxIA32 → const Target
- linuxRiscv32 → const Target
- linuxRiscv64 → const Target
- linuxX64 → const Target
- macOSArm64 → const Target
- macOSX64 → const Target
-
values
→ const Set<
Target> - windowsArm64 → const Target
- windowsIA32 → const Target
- windowsX64 → const Target