ProjectConfig class
Represents a project configuration.
Constructors
- ProjectConfig.new({required String deviceId, required String userIdentifier, required String username, required String password})
-
Creates a new
ProjectConfig
instance with the given properties. - ProjectConfig.fromJson(String source)
-
Creates a
ProjectConfig
instance from a JSON string.factory -
ProjectConfig.fromMap(Map<
String, dynamic> map) -
Creates a
ProjectConfig
instance from a map.factory
Properties
- deviceId → String
-
The device ID.
final
- hashCode → int
-
Returns the hash code of the
ProjectConfig
instance.no setteroverride - password → String
-
The password.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userIdentifier → String
-
The user identifier.
final
- username → String
-
The username.
final
Methods
-
copyWith(
{String? deviceId, String? userIdentifier, String? username, String? password}) → ProjectConfig -
Creates a copy of the current
ProjectConfig
instance with optional changes. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
Converts the
ProjectConfig
instance to a JSON string. -
toMap(
) → Map< String, dynamic> -
Converts the
ProjectConfig
instance to a map. -
toString(
) → String -
Returns a string representation of the
ProjectConfig
instance.override
Operators
-
operator ==(
covariant ProjectConfig other) → bool -
Compares two
ProjectConfig
instances for equality.override