Skip to main content

ios method

FirebaseOptions ios (Map<String, dynamic> iosFirebaseOptions)

<p>Scaffolds iosFirebaseOptions around FirebaseOptions.</p> <p>more_info_if_required</p> <p><strong>params</strong>:</p> <ul> <li><code>iosFirebaseOptions</code>: The options which we want to scaffold</li> </ul> <p><strong>returns</strong>:</p> <ul> <li><code>FirebaseOptions</code>: Scaffolded FirebaseOptions</li> </ul>

Implementation

static FirebaseOptions ios(Map\<String, dynamic\> iosFirebaseOptions) =\>
FirebaseOptions(
apiKey: iosFirebaseOptions['apiKey'] as String,
appId: iosFirebaseOptions['appId'] as String,
messagingSenderId: iosFirebaseOptions['messagingSenderId'] as String,
projectId: iosFirebaseOptions['projectId'] as String,
storageBucket: iosFirebaseOptions['storageBucket'] as String,
iosClientId: iosFirebaseOptions['iosClientId'] as String,
iosBundleId: iosFirebaseOptions['iosBundleId'] as String,
);