FirebaseSetupPrompts class
Shared prompts for optional Firebase server credentials.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
askServiceAccountKeyPath(
{required String outputDir, String? serverPackageName}) → Future< String?> - Ask the user where the service-account JSON lives. Instead of typing a long absolute path (which caps out at the terminal width), Oracular opens the destination folder in the OS file browser and lets the user drag/drop the key in. Pressing Enter then auto-detects the file.
-
findExistingServiceAccountKey(
{required String outputDir, String? serverPackageName}) → DiscoveredServiceAccount? -
Walks the user's filesystem looking for a pre-existing
service-account.jsonso the wizard can offer to reuse it instead of asking the user to drop in another copy of the same key. -
normalizeConfiguredKeyPath(
String? keyPath) → String?