SourceFileEdit class

A description of a set of changes to a single file.

Constructors

SourceFileEdit(String file, int fileStamp, List<SourceEdit> edits)

Properties

edits List<SourceEdit>
A list of the edits used to effect the change.
final
file String
The file containing the code to be modified.
final
fileStamp int
The modification stamp of the file at the moment when the change was created, in milliseconds since the "Unix epoch". Will be -1 if the file did not exist and should be created. The client may use this field to make sure that the file was not changed since then, so it is safe to apply the change.
final
hashCode int
The hash code for this object.
no setterinherited
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.
override

Operators

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

Static Methods

parse(Map m) SourceFileEdit