Change constructor
Change({
- required String entryPath,
- required ChangeType changeType,
- 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,
);