Skip to content

Commit

Permalink
fix(core, web): remove unused import that could lead to compilation e…
Browse files Browse the repository at this point in the history
…rror (#12285)
  • Loading branch information
Lyokone committed Feb 5, 2024
1 parent e864ace commit 0e67a1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ class FirebaseCoreWeb extends FirebasePlatform {
/// You must ensure the Firebase script is injected before using the service.
List<String> get _ignoredServiceScripts {
try {
JSObject ignored =
JSObject? ignored =
globalContext.getProperty('flutterfire_ignore_scripts'.toJS);

if (ignored is Iterable) {
return (ignored as Iterable)
return (ignored! as Iterable)
.map((e) => e.toString())
.toList(growable: false);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ library firebase_interop.core.app;

import 'dart:js_interop';

import 'package:js/js.dart';

import 'core_interop.dart';

@JS('FirebaseApp')
Expand Down

0 comments on commit 0e67a1a

Please sign in to comment.