FileChange class

FileChange represents a file system entity change.

Constructors

FileChange(FileSystemEntity entity, ChangeKind kind)
FileChange.of(String path, ChangeKind kind, FileSystemEntityKind entityKind)
Const constructor of FileChange.
const

Properties

entity FileSystemEntity
Get the FileSystemEntity of this FileChange. Prefer to use FileChange.path and FileChange.entityKind if all you need is to get those, because this getter creates a new instance of FileSystemEntity on every call.
no setter
entityKind FileSystemEntityKind
final
hashCode int
The hash code for this object.
no setterinherited
kind ChangeKind
final
path String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited