NullVal class Null safety

A NullVal object represents the Dart language value null.

Inheritance
Implemented types

Constructors

NullVal({String? valueAsString})

Properties

allocationLocation InstanceRef?
The stack trace associated with the allocation of a ReceivePort.
optional">@optionalread / writeinherited
associations List<MapAssociation>?
The elements of a Map instance.
optional">@optionalread / writeinherited
bound InstanceRef?
The bound of a TypeParameter or BoundedType.
optional">@optionalread / writeinherited
bytes String?
The bytes of a TypedData instance.
optional">@optionalread / writeinherited
classRef ClassRef?
Instance references always include their class.
read / writeinherited
closureContext ContextRef?
The context associated with a Closure instance.
optional">@optionalread / writeinherited
closureFunction FuncRef?
The function associated with a Closure instance.
optional">@optionalread / writeinherited
count int?
The number of elements or associations or codeunits returned. This is only provided when it is less than length.
optional">@optionalread / writeinherited
debugName String?
A name associated with a ReceivePort used for debugging purposes.
optional">@optionalread / writeinherited
elements List?
The elements of a List instance.
optional">@optionalread / writeinherited
fields List<BoundField>?
The fields of this Instance.
optional">@optionalread / writeinherited
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">@optionalread / writeinherited
hashCode int
The hash code for this object.
read-onlyoverride
id String?
A unique identifier for an Object. Passed to the getObject RPC to reload this Object.
read / writeinherited
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 / writeinherited
isCaseSensitive bool?
Whether this regular expression is case sensitive.
optional">@optionalread / writeinherited
isMultiLine bool?
Whether this regular expression matches multiple lines.
optional">@optionalread / writeinherited
json Map<String, dynamic>?
read / writeinherited
kind String?
What kind of instance is this?
read / writeinherited
length int?
The length of a List or the number of associations in a Map or the number of codeunits in a String.
optional">@optionalread / writeinherited
mirrorReferent InstanceRef?
The referent of a MirrorReference instance.
optional">@optionalread / writeinherited
name String?
The name of a Type instance.
optional">@optionalread / writeinherited
offset int?
The index of the first element or association or codeunit returned. This is only provided when it is non-zero.
optional">@optionalread / writeinherited
parameterIndex int?
The index of a TypeParameter instance.
optional">@optionalread / writeinherited
parameterizedClass ClassRef?
The parameterized class of a type parameter:
optional">@optionalread / writeinherited
parameters List<Parameter>?
The list of parameter types for a function.
optional">@optionalread / writeinherited
pattern InstanceRef?
The pattern of a RegExp instance.
optional">@optionalread / writeinherited
portId int?
The port ID for a ReceivePort.
optional">@optionalread / writeinherited
propertyKey InstanceRef?
The key for a WeakProperty instance.
optional">@optionalread / writeinherited
propertyValue InstanceRef?
The key for a WeakProperty instance.
optional">@optionalread / writeinherited
returnType InstanceRef?
The return type of a function.
optional">@optionalread / writeinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
size int?
The size of this object in the heap.
optional">@optionalread / writeinherited
targetType InstanceRef?
The type bounded by a BoundedType instance - or - the referent of a TypeRef instance.
optional">@optionalread / writeinherited
type String
read-onlyoverride
typeArguments TypeArgumentsRef?
The type arguments for this type.
optional">@optionalread / writeinherited
typeClass ClassRef?
The corresponding Class if this Type is canonical.
optional">@optionalread / writeinherited
typeParameters List<InstanceRef>?
The type parameters for a function.
optional">@optionalread / writeinherited
valueAsString String?
Always 'null'.
read / writeoverride
valueAsStringIsTruncated bool?
The valueAsString for String references may be truncated. If so, this property is added with the value 'true'.
optional">@optionalread / writeinherited

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