Null class Null safety
The reserved word null
denotes an object that is the sole instance of
this class.
It is a compile-time error for a class to attempt to extend or implement Null.
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns the string
"null"
.override
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited