EmulatorConfig class sealed
Config with options for connecting the the Firebase auth emulator
- Annotations
-
- @freezed
Constructors
- EmulatorConfig.new({required String host, required int port, @Default('http') String protocol})
-
constfactory
-
EmulatorConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $EmulatorConfigCopyWith<
EmulatorConfig> -
Create a copy of EmulatorConfig
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
The URI host. Example: "127.0.0.1" or "localhost"
no setterinherited
- port → int
-
The URI port. Example 4050
no setterinherited
- protocol → String
-
The URI protocol. Default is "https".
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
-
toJson(
) → Map< String, dynamic> -
Serializes this EmulatorConfig to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited