RSA constructor

RSA({
  1. Report? report,
  2. Mechanic? mechanic,
  3. TowProvider? towProvider,
  4. RSAStates? state,
  5. String? problemDescription,
  6. List<Mechanic>? nearbyMechanics,
  7. List<TowProvider>? nearbyProviders,
  8. CustomLocation? location,
  9. String? rsaID,
  10. Client? user,
  11. DateTime? estimatedTime,
  12. CustomLocation? dropOffLocation,
  13. Car? car,
  14. 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;
}