ByType class Null safety

A Flutter Driver finder that finds widgets by their runtimeType.

Inheritance

Constructors

ByType(String type)
Creates a finder given the runtime type in string form.
const

Properties

finderType String
Identifies the type of finder to be used by the driver extension.
read-only, override
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
type String
The widget's runtimeType, in string form.
final

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) ByType
Deserializes the finder from JSON generated by serialize.