AnnouncementExtension class Null safety

Base for announcement extensions. Announcement extensions add additional functionalities to the discovery process without changing the api

User extensions should start with types above extensionUserStart, anything below is reserved

Implementers

Constructors

AnnouncementExtension(int type, String name)
Constructor

Properties

hashCode int
The hash code for this object.
read-only, inherited
name String
The name of the extension, more for debugging purposes
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type int
The type id of the extension
final

Methods

data() List<int>
The binary data part of the extension
length() int
The length, in bytes of the announcement data part
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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