Replacement class

Represents a single change.

Constructors

Replacement({required String comment, required String replacement})
Initialize a newly created Replacement with the given comment and replacement.
const

Properties

comment String
The human-readable description of the change to be applied.
final
hashCode int
The hash code for this object.
no setterinherited
replacement String
The code with changes to replace original code with.
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