Migration
- 方法
> dart migrate
- Process
C:/Users/itsme/Documents/GitHub/flutter_migration> dart migrate
Migrating C:/Users/itsme/Documents/GitHub/flutter_migration
See https://dart.dev/go/null-safety-migration for a migration guide.
Analyzing project...
[------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\]
No analysis issues found.
Generating migration suggestions...
[-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
Compiling instrumentation information...
[-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
View the migration suggestions by visiting:
http://127.0.0.1:59295/C:/Users/itsme/Documents/GitHub/flutter_migration?authToken=SLX1RWDeq6Y%3D
Use this interactive web view to review, improve, or apply the results.
When finished with the preview, hit ctrl-c to terminate this process.
If you make edits outside of the web view (in your IDE), use the 'Rerun from
sources' action.
migrateをすると、Null safety Previewのリンクかでます。
Proposed null safety changes
- リンクはプロジェクトによって、違います。
http://127.0.0.1:59295/C:/Users/itsme/Documents/GitHub/flutter_migration?authToken=SLX1RWDeq6Y%3D
Apply Migration
- マイグレーションにすると、environmentの変えます。