NullVal class Null safety

A NullVal object represents the Dart language value null.

Inheritance
Implemented types

Constructors

NullVal({required String? valueAsString})

Properties

allocationLocation InstanceRef?
The stack trace associated with the allocation of a ReceivePort. [...]
@optional, read / write, inherited
associations List<MapAssociation>?
The elements of a Map instance. [...]
@optional, read / write, inherited
bound InstanceRef?
The bound of a TypeParameter or BoundedType. [...]
@optional, read / write, inherited
bytes String?
The bytes of a TypedData instance. [...]
@optional, read / write, inherited
classRef ClassRef?
Instance references always include their class.
read / write, inherited
closureContext ContextRef?
The context associated with a Closure instance. [...]
@optional, read / write, inherited
closureFunction FuncRef?
The function associated with a Closure instance. [...]
@optional, read / write, inherited
count int?
The number of elements or associations or codeunits returned. This is only provided when it is less than length. [...]
@optional, read / write, inherited
debugName String?
A name associated with a ReceivePort used for debugging purposes. [...]
@optional, read / write, inherited
elements List?
The elements of a List instance. [...]
@optional, read / write, inherited
fields List<BoundField>?
The fields of this Instance.
@optional, read / write, inherited
fixedId bool?
Provided and set to true if the id of an Object is fixed. If true, the id of an Object is guaranteed not to change or expire. The object may, however, still be Collected.
@optional, read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, override
id String?
A unique identifier for an Object. Passed to the getObject RPC to reload this Object. [...]
read / write, inherited
identityHashCode int?
The identityHashCode assigned to the allocated object. This hash code is the same as the hash code provided in HeapSnapshot and CpuSample's returned by getAllocationTraces().
read / write, inherited
isCaseSensitive bool?
Whether this regular expression is case sensitive. [...]
@optional, read / write, inherited
isMultiLine bool?
Whether this regular expression matches multiple lines. [...]
@optional, read / write, inherited
json Map<String, dynamic>?
read / write, inherited
kind String?
What kind of instance is this?
read / write, inherited
length int?
The length of a List or the number of associations in a Map or the number of codeunits in a String. [...]
@optional, read / write, inherited
mirrorReferent InstanceRef?
The referent of a MirrorReference instance. [...]
@optional, read / write, inherited
name String?
The name of a Type instance. [...]
@optional, read / write, inherited
offset int?
The index of the first element or association or codeunit returned. This is only provided when it is non-zero. [...]
@optional, read / write, inherited
parameterIndex int?
The index of a TypeParameter instance. [...]
@optional, read / write, inherited
parameterizedClass ClassRef?
The parameterized class of a type parameter: [...]
@optional, read / write, inherited
pattern InstanceRef?
The pattern of a RegExp instance. [...]
@optional, read / write, inherited
portId int?
The port ID for a ReceivePort. [...]
@optional, read / write, inherited
propertyKey InstanceRef?
The key for a WeakProperty instance. [...]
@optional, read / write, inherited
propertyValue InstanceRef?
The key for a WeakProperty instance. [...]
@optional, read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int?
The size of this object in the heap. [...]
@optional, read / write, inherited
targetType InstanceRef?
The type bounded by a BoundedType instance - or - the referent of a TypeRef instance. [...]
@optional, read / write, inherited
type String
read-only, override
typeArguments TypeArgumentsRef?
The type arguments for this type. [...]
@optional, read / write, inherited
typeClass ClassRef?
The corresponding Class if this Type is canonical. [...]
@optional, read / write, inherited
valueAsString String?
Always 'null'.
read / write, override
valueAsStringIsTruncated bool?
The valueAsString for String references may be truncated. If so, this property is added with the value 'true'. [...]
@optional, read / write, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override

Static Methods

parse(Map<String, dynamic>? json) NullVal?
override