ServiceRequest class

Constructors

ServiceRequest({required int userId, required int serviceId, required int addOnId, required double pickUpLat, required double pickUpLng, DateTime? pickUpTime, double? dropOffLat, double? dropOffLng, String? dropOffLocation, String? dropOffLocationAr, String? dropOffLocationEn, String? note, String? status, DateTime? createdAt})
ServiceRequest.fromJson(Map<String, dynamic> json)
factory

Properties

addOnId int
final
createdAt DateTime?
final
dropOffLat double?
final
dropOffLng double?
final
dropOffLocation String?
final
dropOffLocationAr String?
final
dropOffLocationEn String?
final
hashCode int
The hash code for this object.
no setterinherited
note String?
final
pickUpLat double
final
pickUpLng double
final
pickUpTime DateTime?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceId int
final
status String?
final
userId int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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