ByValueKey class

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-only, override
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
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

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