TopicImpl class

Implemented types

Constructors

TopicImpl(String type, {String separator = '.', List<String> paths = const []})

Properties

hashCode → int
The hash code for this object.
no setteroverride
paths → List<String>
The path tokens after the type. Empty when the address is the type alone.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
separator → String
The string that joins type and paths into topic.
final
topic → String
The routing key. This is the string the bus looks a node up by.
no setteroverride
type → String
The event type — the first token of the address, usually T of the call.
final

Methods

copy({List<String>? paths, String? separator}) → Topic
A copy with paths and/or separator replaced. The type is kept.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
The routing key: implementations use implements, so the body in Topic is not inherited and has to be repeated here.
override

Operators

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