UnknownCommand class final Protocol

A top-level element this package does not know.

Reported instead of failing so that newer servers keep working.

Inheritance

Constructors

UnknownCommand({required String tag, Map<String, String> attributes = const {}})
Creates an unknown command.
const

Properties

attributes → Map<String, String>
The element attributes.
final
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
The element name.
final

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