RSA constructor
RSA({
- Report? report,
- Mechanic? mechanic,
- TowProvider? towProvider,
- RSAStates? state,
- String? problemDescription,
- List<
Mechanic> ? nearbyMechanics, - List<
TowProvider> ? nearbyProviders, - CustomLocation? location,
- String? rsaID,
- Client? user,
- DateTime? estimatedTime,
- CustomLocation? dropOffLocation,
- Car? car,
- RequestType? requestType,
Implementation
RSA({
Report? report,
Mechanic? mechanic,
TowProvider? towProvider,
RSAStates? state,
String? problemDescription,
List<Mechanic>? nearbyMechanics,
List<TowProvider>? nearbyProviders,
CustomLocation? location,
String? rsaID,
Client? user,
DateTime? estimatedTime,
CustomLocation? dropOffLocation,
Car? car,
RequestType? requestType,
}) {
_report = report ?? _report;
_mechanic = mechanic ?? _mechanic;
_towProvider = towProvider ?? _towProvider;
_state = state ?? _state;
_problemDescription = problemDescription ?? problemDescription;
_nearbyMechanics = nearbyMechanics ?? _nearbyMechanics;
_nearbyProviders = nearbyProviders ?? _nearbyProviders;
_location = location ?? _location;
_rsaID = rsaID ?? _rsaID;
_user = user ?? _user;
_estimatedTime = estimatedTime ?? _estimatedTime;
_dropOffLocation = dropOffLocation ?? _dropOffLocation;
_car = car ?? _car;
_requestType = requestType ?? _requestType;
}