Station class
Station data class
Constructors
-
Station({required String name, required String street, required String postalCode, required String place, required String id, required String? brand, required String country, required Iterable<
Fuel> fuels, required double longitude, required double latitude, DateTime? closesAt, DateTime? opensAt}) -
const
- Station.fromJson(dynamic json)
-
factory
Properties
- brand → String?
-
final
- closesAt → DateTime?
-
final
- country → String
-
final
- dieselPrice → double
-
no setter
- e5Price → double
-
no setter
- e10Price → double
-
no setter
-
fuels
→ Iterable<
Fuel> -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
final
- latitude → double
-
final
- longitude → double
-
final
- name → String
-
final
- opensAt → DateTime?
-
final
- place → String
-
final
- postalCode → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- street → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
listFromJson(
dynamic json) → Iterable< Station> ?