EventSource class

EventSource contains information for an event.

Constructors

EventSource({String? component, String? host})
Default constructor.
const
EventSource.fromJson(Map<String, dynamic> json)
Creates a EventSource from JSON data.
factory

Properties

component String?
Component from which the event is generated.
final
hashCode int
The hash code for this object.
no setterinherited
host String?
Node name on which the event is generated.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a EventSource instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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