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>
read-only
SDK_VERSION → String
The current SDK version. [...]
@JS(), read-only

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
jsifyList(Iterable list, [Object customJsify(Object object)]) → dynamic
objectKeys(Object obj) → List<String>
@JS('Object.keys')
stringify(Object obj) → String
@JS('JSON.stringify')
toJSArray(List source) → Object
@JS('Array.from')

Typedefs

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