FirebaseOptions.fromPigeon constructor

FirebaseOptions.fromPigeon(
  1. CoreFirebaseOptions options
)

Named constructor to create FirebaseOptions from a the response of Pigeon channel.

This constructor is used when platforms cannot directly return a FirebaseOptions instance, for example when data is sent back from a MethodChannel.

Implementation

FirebaseOptions.fromPigeon(CoreFirebaseOptions options)
  : apiKey = options.apiKey,
    appId = options.appId,
    messagingSenderId = options.messagingSenderId,
    projectId = options.projectId,
    authDomain = options.authDomain,
    databaseURL = options.databaseURL,
    storageBucket = options.storageBucket,
    measurementId = options.measurementId,
    trackingId = options.trackingId,
    deepLinkURLScheme = options.deepLinkURLScheme,
    androidClientId = options.androidClientId,
    iosClientId = options.iosClientId,
    iosBundleId = options.iosBundleId,
    appGroupId = options.appGroupId,
    recaptchaSiteKey =
        '';