errors property
Errors the app raised, as posted by the agent's chained error handlers.
Implementation
Stream<Map<String, Object?>> get errors => runtime.extensionEvents
.where((e) => e.extensionKind == kAgentErrorEvent)
.map((e) => (e.extensionData?.data ?? const <String, Object?>{}).cast<String, Object?>());