handleNotification abstract method

  1. @protected
void handleNotification(
  1. AtKey key,
  2. AtValue value,
  3. String? operation
)
inherited

How to handle notifications received by the internal notificationSubscription.

Possible operations are: 'update', 'append', 'remove', 'delete', 'init', null

These operations are the same as AtNotification, with an additional 'init' operation which is used by getKeys() to indicate that this key was preloaded.

Implementation

@protected

/// How to handle notifications received by the internal [notificationSubscription].
///
/// Possible operations are:
/// 'update', 'append', 'remove', 'delete', 'init', null
///
/// These operations are the same as [AtNotification], with an additional ['init'] operation
/// which is used by [getKeys()] to indicate that this key was preloaded.
void handleNotification(AtKey key, AtValue value, String? operation);