subscribe method

StreamSubscription<ChangeEvent<T>>? subscribe(
  1. void onChange(
    1. ChangeEvent<T> event
    )
)

Subscribe to realtime change events. Returns a StreamSubscription or null if this transport has no realtime support.

Implementation

StreamSubscription<ChangeEvent<T>>? subscribe(
  void Function(ChangeEvent<T> event) onChange,
) => null;