FirebaseException constructor
FirebaseException({
- required String plugin,
- String? message,
- String code = 'unknown',
- StackTrace? stackTrace,
A generic class which provides exceptions in a Firebase-friendly format to users.
try {
await Firebase.initializeApp();
} catch (e) {
print(e.toString());
}
Implementation
FirebaseException(
{required this.plugin,
this.message,
this.code = 'unknown',
this.stackTrace});