Connector class
Constructors
- Connector({required int power, required int price, required StatusType status, required String type})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- power → int
-
Мощность зарядки в кВт.
final
- price → int
-
Стоимость за один кВт·ч.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → StatusType
-
Статус.
final
- type → String
-
Тип коннектора.
final
Methods
-
copyWith(
{int? power, int? price, StatusType? status, String? type}) → Connector -
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.
override