description

# Long class final

The C `long int`, aka. `long`, type.

Typically a signed 32- or 64-bit integer. For a guaranteed 32-bit integer, use Int32 with the C `int32_t` type. For a guaranteed 64-bit integer, use Int64 with the C `int64_t` type. For an `unsigned long`, use UnsignedLong.

The Long type is a native type, and should not be constructed in Dart code. It occurs only in native type signatures and as annotation on Struct and Union fields.

Inheritance
  - Object
  - AbiSpecificInteger
  - Long
Annotations
  - @Since.new('2.17')
  - @AbiSpecificIntegerMapping({Abi.androidArm : Int32(), Abi.androidArm64 : Int64(), Abi.androidIA32 : Int32(), Abi.androidX64 : Int64(), Abi.androidRiscv64 : Int64(), Abi.fuchsiaArm64 : Int64(), Abi.fuchsiaX64 : Int64(), Abi.fuchsiaRiscv64 : Int64(), Abi.iosArm : Int32(), Abi.iosArm64 : Int64(), Abi.iosX64 : Int64(), Abi.linuxArm : Int32(), Abi.linuxArm64 : Int64(), Abi.linuxIA32 : Int32(), Abi.linuxX64 : Int64(), Abi.linuxRiscv32 : Int32(), Abi.linuxRiscv64 : Int64(), Abi.macosArm64 : Int64(), Abi.macosX64 : Int64(), Abi.windowsArm64 : Int32(), Abi.windowsIA32 : Int32(), Abi.windowsX64 : Int32()})

## Constructors

Long()
  const

## Properties

hashCode → int
  The hash code for this object.
  no setter inherited
runtimeType → Type
  A representation of the runtime type of the object.
  no setter inherited

## 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