onEntryAdded property

Stream<LogEntry> get onEntryAdded

Issued when new message was logged.

Implementation

Stream<LogEntry> get onEntryAdded => _client.onEvent
    .where((event) => event.name == 'Log.entryAdded')
    .map((event) =>
        LogEntry.fromJson(event.parameters['entry'] as Map<String, dynamic>));