FileTransport class

A transport that writes MonitorEvents to a file.

Implemented types

Constructors

FileTransport(String filePath)
Creates a new FileTransport writing to filePath.

Properties

hashCode int
The hash code for this object.
no setterinherited
onConnect Stream<void>
Stream that emits when a connection is established or re-established.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Releases resources and closes any active connections.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(MonitorEvent event) → void
Dispatches the event to the transport destination.
override
toString() String
A string representation of this object.
inherited

Operators

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