enable method
Enables a specific Firebase feature for the project.
Supported features: 'auth', 'firestore', 'fcm'.
Some features like 'firestore' require a projectId for
deep-linking to the console.
Implementation
Future<void> enable(String feature, {String? projectId}) async {
final normalized = feature.toLowerCase();
switch (normalized) {
case 'auth':
await _enableAuth(projectId);
break;
case 'firestore':
await _enableFirestore(projectId);
break;
case 'fcm':
await _enableFCM(projectId);
break;
default:
print('❌ Unknown feature: $feature');
print('👉 Supported: auth, firestore, fcm');
}
}