isError property

bool get isError

A test to determine if this StreamNotification wraps an error event.

Implementation

bool get isError => kind == NotificationKind.error;