Change constructor

Change({
  1. required String entryPath,
  2. required ChangeType changeType,
  3. CloudFileInfo? cloudFileInfo,
})

Implementation

Change({
  /// The path of the changed entry.
  required String entryPath,

  /// The type of the change which happened to the entry.
  required ChangeType changeType,

  /// Information relating to the file if backed by a cloud file system.
  CloudFileInfo? cloudFileInfo,
}) : _wrapped = $js.Change(
        entryPath: entryPath,
        changeType: changeType.toJS,
        cloudFileInfo: cloudFileInfo?.toJS,
      );