android method
FirebaseOptions android (Map<String, dynamic> androidFirebaseOptions)
<p>Scaffolds androidFirebaseOptions around FirebaseOptions.</p> <p><strong>params</strong>:</p> <ul> <li><code>androidFirebaseOptions</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 android(Map\<String, dynamic\> androidFirebaseOptions) =\>
FirebaseOptions(
apiKey: androidFirebaseOptions['apiKey'] as String,
appId: androidFirebaseOptions['appId'] as String,
messagingSenderId:
androidFirebaseOptions['messagingSenderId'] as String,
projectId: androidFirebaseOptions['projectId'] as String,
storageBucket: androidFirebaseOptions['storageBucket'] as String,
);