NativeTrackingProtocol class final

Version and capability information negotiated with the native tracker.

The package uses this read-only description before calling newer platform methods. Unknown capability strings are preserved so newer native binaries remain inspectable by older Dart code.

Constructors

NativeTrackingProtocol({required int version, required Iterable<String> capabilityCodes})
NativeTrackingProtocol.fromMap(Map<Object?, Object?> map)
factory
NativeTrackingProtocol.legacy()
Legacy native implementations predate the protocol-info method.

Properties

capabilityCodes Set<String>
Stable native capability identifiers.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int
Monotonic method-channel protocol version reported by native code.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
supports(String code) bool
Whether the native side advertises code.
toString() String
A string representation of this object.
inherited

Operators

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