CodeTransformer class
Transforms Dart code to use shard_i18n
Constructors
- CodeTransformer({required MigrationConfig config, required bool interactive, required bool verbose})
Properties
- config → MigrationConfig
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- interactive → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verbose → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
AnalysisResult analysis, {required bool dryRun}) → Future< TransformResult> - Transform analyzed files to use shard_i18n
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited