Skip to content

Commit 41c122b

Browse files
committed
Make nullable signature non-nullable again
1 parent 9fd9338 commit 41c122b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/devtools_shared/lib/src/deeplink/universal_link_settings.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ extension type const UniversalLinkSettings._(Map<String, Object?> _json) {
2121
});
2222

2323
/// The bundle identifier of the iOS build of this Flutter project.
24-
String? get bundleIdentifier => _json[_kBundleIdentifierKey] as String?;
24+
String get bundleIdentifier =>
25+
(_json[_kBundleIdentifierKey] as String?) ?? '';
2526

2627
/// The team identifier of the iOS build of this Flutter project.
27-
String? get teamIdentifier => _json[_kTeamIdentifierKey] as String?;
28+
String get teamIdentifier => (_json[_kTeamIdentifierKey] as String?) ?? '';
2829

2930
/// The associated domains of the iOS build of this Flutter project.
3031
List<String> get associatedDomains =>

0 commit comments

Comments
 (0)