ByValueKey class Null safety

A Flutter Driver finder that finds widgets by ValueKey.

Inheritance

Constructors

ByValueKey(dynamic keyValue)
Creates a finder given the key value.

Properties

finderType → String
Identifies the type of finder to be used by the driver extension.
read-onlyoverride
hashCode → int
The hash code for this object.
read-onlyinherited
keyValue → dynamic
The true value of the key.
final
keyValueString → String
Stringified value of the key (we can only send strings to the VM service)
final
keyValueType → String
The type name of the key.
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
serialize() → Map<String, String>
Serializes common fields to JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

deserialize(Map<String, String> json) → ByValueKey
Deserializes the finder from JSON generated by serialize.