firebase_core_web_interop library

Classes

App
A Firebase App holds the initialization information for a collection of services.
AppJsImpl
FirebaseError
FirebaseError is a subclass of the standard Error object. In addition to a message string, it contains a string-valued code.
FirebaseOptions
A structure for options provided to Firebase.
JsObjectWrapper<T>
This class is a wrapper for the jsObject. All the specific JsObject wrappers extend from it.
PromiseJsImpl<T>

Properties

apps List<App>
no setter
SDK_VERSION String
The current SDK version.
no setter

Functions

app([String? name]) App
callMethod(Object jsObject, String method, List args) → dynamic
Calls method on JavaScript object jsObject.
dartify(Object? jsObject, [Object? customDartify(Object? object)?]) → dynamic
Returns Dart representation from JS Object.
dartifyDate(Object jsObject) DateTime?
handleFutureWithMapper<T, S>(Future<T> future, Func1<T, S> mapper) PromiseJsImpl<S>
Handles the Future object with the provided mapper function.
handleThenable<T>(PromiseJsImpl<T> thenable) Future<T>
Handles the PromiseJsImpl object.
initializeApp({String? apiKey, String? authDomain, String? databaseURL, String? projectId, String? storageBucket, String? messagingSenderId, String? name, String? measurementId, String? appId}) App
jsify(Object? dartObject, [Object? customJsify(Object? object)?]) → dynamic
Returns the JS implementation from Dart Object.
jsifyList(Iterable list, [Object? customJsify(Object? object)?]) → dynamic
objectKeys(Object obj) List<String>
stringify(Object obj) String
toJSArray(List source) Object

Typedefs

Func0<R> = R Function()
Func1<A, R> = R Function(A a)
Func2Opt1<A, B, R> = R Function(A a, [B? b])
Func3<A, B, C, R> = R Function(A a, B b, C c)