MarkupTapEvent class

点击事件

Inheritance

Constructors

MarkupTapEvent(String tag, Object? data)
MarkupTapEvent.from(MarkupContext context)

Properties

data Object?
数据
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String
发出该事件的标签
getter/setter pairinherited

Methods

asData<T>() → T
转换data的类型
inherited
asMap<K, V>() Map<K, V>
转换data的类型为Map<String, String>
inherited
containsKey(Object? key) bool
inherited
get<V>(Object? key) → V?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
require<V>(Object? key) → V
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](Object? key) Object?
inherited