Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:core
  3. Object class
Object
description

Object class

The base class for all Dart objects exceptnull.

BecauseObject is a root of the non-nullable Dart class hierarchy,every other non-Null Dart class is a subclass ofObject.

When you define a class, you should consider overridingtoStringto return a string describing an instance of that class.You might also need to definehashCode andoperator ==, as described in theImplementing map keyssection of thelibrary tour.

Implementers

Constructors

Object.new()
Creates a newObject instance.
const

Properties

hashCodeint
The hash code for this object.
no setter
runtimeTypeType
A representation of the runtime type of the object.
no setter

Methods

noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
toString()String
A string representation of this object.

Operators

operator ==(Objectother)bool
The equality operator.

Static Methods

hash(Object?object1,Object?object2, [Object?object3 =sentinelValue,Object?object4 =sentinelValue,Object?object5 =sentinelValue,Object?object6 =sentinelValue,Object?object7 =sentinelValue,Object?object8 =sentinelValue,Object?object9 =sentinelValue,Object?object10 =sentinelValue,Object?object11 =sentinelValue,Object?object12 =sentinelValue,Object?object13 =sentinelValue,Object?object14 =sentinelValue,Object?object15 =sentinelValue,Object?object16 =sentinelValue,Object?object17 =sentinelValue,Object?object18 =sentinelValue,Object?object19 =sentinelValue,Object?object20 =sentinelValue])int
Creates a combined hash code for a number of objects.
hashAll(Iterable<Object?>objects)int
Creates a combined hash code for a sequence of objects.
hashAllUnordered(Iterable<Object?>objects)int
Creates a combined hash code for a collection of objects.
  1. Dart
  2. dart:core
  3. Object class
dart:core library

[8]ページ先頭

©2009-2025 Movatter.jp