Nf5503ScanResult class

一次扫码广播解析后的结果。

Constructors

Nf5503ScanResult({required String data, String? action, Map<String, Object?> extras = const <String, Object?>{}})
创建扫码结果对象。
const
Nf5503ScanResult.fromMap(Map<Object?, Object?> map)
从原生 EventChannel 返回的 Map 中解析扫码结果。
factory

Properties

action → String?
收到结果的 Android 广播 Action。
final
data → String
扫码文本内容。
final
extras → Map<String, Object?>
原始广播携带的 extras,方便业务读取条码类型等附加信息。
final
hashCode → int
The hash code for this object.
no setterinherited
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
toString() → String
A string representation of this object.
inherited

Operators

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