Upgrading package_info_plus 6 to 7
Breaking6.0.0 → 7.0.0Breaking2Deprecated1Changed1Other3
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- Refactors device_info_plus into a two-package federated architecture.
- Changes nullability for AndroidDeviceInfo properties.
- Adds a @Deprecated annotation to the toMap method.
Must act 3 items need code or config changes
Adds clock ^1.1.1.
What you must change
Breaking2
Refactors device_info_plus into a two-package federated architecture.
Changes nullability for AndroidDeviceInfo properties.
AndroidDeviceInfoDeprecations to plan for
Deprecated1
Adds a @Deprecated annotation to the toMap method.
toMapAPI changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- changed:
method PackageInfoPlusLinuxPlugin.getAll(): Future<PackageInfoData> → method PackageInfoPlusLinuxPlugin.getAll({String? baseUrl}): Future<PackageInfoData> - changed:
method PackageInfoPlusWindowsPlugin.getAll(): Future<PackageInfoData> → method PackageInfoPlusWindowsPlugin.getAll({String? baseUrl}): Future<PackageInfoData> - changed:
static method PackageInfo.fromPlatform(): Future<PackageInfo> → static method PackageInfo.fromPlatform({String? baseUrl}): Future<PackageInfo>