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.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
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.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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.