Abi class
An application binary interface (ABI).
An ABI defines the memory layout of data and the function call protocol for native code. It is usually defined by the an operating system for each architecture that operating system runs on.
The Dart VM can run on a variety of operating systems and architectures.
Supported ABIs are represented by Abi
objects.
See values for all the supported ABIs.
- Annotations
-
- @Since('2.16')
Constructors
- Abi.current()
-
The ABI the Dart VM is currently running on.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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 ABI.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- androidArm → const Abi
- The application binary interface for Android on the Arm architecture.
- androidArm64 → const Abi
- The application binary interface for Android on the Arm64 architecture.
- androidIA32 → const Abi
- The application binary interface for Android on the IA32 architecture.
- androidRiscv64 → const Abi
- The application binary interface for Android on 64-bit RISC-V.
- androidX64 → const Abi
- The application binary interface for Android on the X64 architecture.
- fuchsiaArm64 → const Abi
- The application binary interface for Fuchsia on the Arm64 architecture.
- fuchsiaRiscv64 → const Abi
- The application binary interface for Fuchsia on the Riscv64 architecture.
- fuchsiaX64 → const Abi
- The application binary interface for Fuchsia on the X64 architecture.
- iosArm → const Abi
- The application binary interface for iOS on the Arm architecture.
- iosArm64 → const Abi
- The application binary interface for iOS on the Arm64 architecture.
- iosX64 → const Abi
- The application binary interface for iOS on the X64 architecture.
- linuxArm → const Abi
- The application binary interface for Linux on the Arm architecture.
- linuxArm64 → const Abi
- The application binary interface for linux on the Arm64 architecture.
- linuxIA32 → const Abi
- The application binary interface for linux on the IA32 architecture.
- linuxRiscv32 → const Abi
- The application binary interface for linux on 32-bit RISC-V.
- linuxRiscv64 → const Abi
- The application binary interface for linux on 64-bit RISC-V.
- linuxX64 → const Abi
- The application binary interface for linux on the X64 architecture.
- macosArm64 → const Abi
- The application binary interface for MacOS on the Arm64 architecture.
- macosX64 → const Abi
- The application binary interface for MacOS on the X64 architecture.
-
values
→ const List<
Abi> - The ABIs that the DartVM can run on.
- windowsArm64 → const Abi
- The application binary interface for Windows on the Arm64 architecture.
- windowsIA32 → const Abi
- The application binary interface for Windows on the IA32 architecture.
- windowsX64 → const Abi
- The application binary interface for Windows on the X64 architecture.