Topic class abstract
By default Topic equals by Topic.topic
- Implementers
Constructors
-
Topic.fromParametr({Type? type, String? nameType, String? target, String? path, String? fragment, Map<
String, String> ? arguments}) -
Required type or nameType
factory
- Topic.fromString(String topic)
-
factory
- Topic.parse(String fullTopic)
-
factory
Properties
-
arguments
→ Map<
String, String> ? -
no setter
- fragment → String?
-
no setter
- fullTopic → String
-
this string include: fragment and arguments
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
target.type
no setter
- path → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → String
-
Topic scheme, 'event' by default
no setter
- shema → String
-
no setter
- target → String?
-
no setter
- topic → String
-
This topic used in EventBus for detect handler.
this string not include: fragment and arguments
no setter
- topicWithFragment → String
-
no setter
- type → String
-
no setter
Methods
-
copy(
{String? target, String? scheme, String? fragment, Map< String, String> ? arguments, String? path}) → Topic - Topic copy. Parameters that are not passed are taken from the current topic (including path, fragment and arguments).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited