StreamEvent.patch constructor

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

A patch event, indicating data was patched.

Implementation

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

  /// The patchset that was sent by the client to modify the server data.
  required dynamic data,
}) = StreamEventPatch;