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.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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.
_androidArm
androidArm64 → const Abi
The application binary interface for Android on the Arm64 architecture.
_androidArm64
androidIA32 → const Abi
The application binary interface for Android on the IA32 architecture.
_androidIA32
androidX64 → const Abi
The application binary interface for android on the X64 architecture.
_androidX64
fuchsiaArm64 → const Abi
The application binary interface for Fuchsia on the Arm64 architecture.
_fuchsiaArm64
fuchsiaRiscv64 → const Abi
The application binary interface for Fuchsia on the Riscv64 architecture.
_fuchsiaRiscv64
fuchsiaX64 → const Abi
The application binary interface for Fuchsia on the X64 architecture.
_fuchsiaX64
iosArm → const Abi
The application binary interface for iOS on the Arm architecture.
_iosArm
iosArm64 → const Abi
The application binary interface for iOS on the Arm64 architecture.
_iosArm64
iosX64 → const Abi
The application binary interface for iOS on the X64 architecture.
_iosX64
linuxArm → const Abi
The application binary interface for Linux on the Arm architecture.
_linuxArm
linuxArm64 → const Abi
The application binary interface for linux on the Arm64 architecture.
_linuxArm64
linuxIA32 → const Abi
The application binary interface for linux on the IA32 architecture.
_linuxIA32
linuxRiscv32 → const Abi
The application binary interface for linux on 32-bit RISC-V.
_linuxRiscv32
linuxRiscv64 → const Abi
The application binary interface for linux on 64-bit RISC-V.
_linuxRiscv64
linuxX64 → const Abi
The application binary interface for linux on the X64 architecture.
_linuxX64
macosArm64 → const Abi
The application binary interface for MacOS on the Arm64 architecture.
_macosArm64
macosX64 → const Abi
The application binary interface for MacOS on the X64 architecture.
_macosX64
values → const List<Abi>
The ABIs that the DartVM can run on.
[androidArm, androidArm64, androidIA32, androidX64, fuchsiaArm64, fuchsiaX64, fuchsiaRiscv64, iosArm, iosArm64, iosX64, linuxArm, linuxArm64, linuxIA32, linuxX64, linuxRiscv32, linuxRiscv64, macosArm6…
windowsArm64 → const Abi
The application binary interface for Windows on the Arm64 architecture.
_windowsArm64
windowsIA32 → const Abi
The application binary interface for Windows on the IA32 architecture.
_windowsIA32
windowsX64 → const Abi
The application binary interface for Windows on the X64 architecture.
_windowsX64