WatchItLogFunction typedef

WatchItLogFunction = void Function({required WatchItEvent eventType, Object? lastValue, Object? observedObject, Object? parentObject, String? sourceLocationOfWatch})

Typedef for the logging function signature

Implementation

typedef WatchItLogFunction = void Function({
  String? sourceLocationOfWatch,
  required WatchItEvent eventType,
  Object? observedObject,
  Object? parentObject,

  /// For stream the value of the last event
  /// For createOnce && createOnceAsync the value of the object that was created
  Object? lastValue,
});