StreamEvent.put constructor

const StreamEvent.put({
  1. required String path,
  2. required dynamic data,
})

A put event, indicating data was created, updated or deleted.

Implementation

const factory StreamEvent.put({
  /// The sub path to the request were data was modified.
  required String path,

  /// The data that has been modified.
  required dynamic data,
}) = StreamEventPut;