DVDartvelCrashSink class

DVCrashSink.dartvel: reports posted to the deployment's own backend.

Implemented types

Constructors

DVDartvelCrashSink({required Uri endpoint(), Client? client, Duration timeout = const Duration(seconds: 15), void log(String line)?})

Properties

endpoint → Uri Function()
Read at send time, so the runtime's base URL is the one in force.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(DVCrashReport report) → Future<void>
Returns when the backend has the report or has refused it for good, and throws otherwise, which leaves the record for the next launch.
override
toString() → String
A string representation of this object.
inherited

Operators

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