Parking class Null safety

Parking domain entity

Implementers

Constructors

Parking({required String id, required String name, required String address, required double latitude, required double longitude, required String imageUrl, List<Service>? services, required int spacesAvailable, required int totalCapacity, required double rating, required double pricePerHour, TimeOfDay? opening, TimeOfDay? closing, required double? distance, DateTime? arrivalTime, required String description})

Properties

address String
read / write
arrivalTime DateTime?
read / write
closing → dynamic
read-only
description String
read / write
distance double?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
read / write
imageUrl String
read / write
latitude double
read / write
longitude double
read / write
name String
read / write
opening → dynamic
read-only
pricePerHour double
read / write
rating double
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
services List<Service>?
read-only
spacesAvailable int
read / write
totalCapacity int
read / write

Methods

compareBy(String? key, Parking b) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited