We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FirebaseException
1 parent cf59bd3 commit 48fed37Copy full SHA for 48fed37
packages/firebase_core/firebase_core_platform_interface/lib/src/firebase_exception.dart
@@ -30,9 +30,10 @@ class FirebaseException implements Exception {
30
FirebaseException({
31
required this.plugin,
32
this.message,
33
- this.code = 'unknown',
+ String? code,
34
this.stackTrace,
35
- });
+ // ignore: unnecessary_this
36
+ }) : this.code = code ?? 'unknown';
37
38
/// The plugin the exception is for.
39
///
0 commit comments