Emitter class

Emitter This class sends events to the collector.

Annotations

Constructors

Emitter({required String uri, HttpMethod httpMethod = HttpMethod.post, BufferOption bufferOption = BufferOption.defaultGroup, RequestSecurity requestSecurity = RequestSecurity.http})
Create an Emitter
const

Properties

bufferOption BufferOption
bufferOption Number of events sent in a POST.
final
hashCode int
The hash code for this object.
no setteroverride
httpMethod HttpMethod
httpMethod Should be GET or POST
final
requestSecurity RequestSecurity
requestSecurity Should be HTTP or HTTPS.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String
uri The collector endpoint.
final

Methods

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

Operators

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