DirectionsResponse constructor

DirectionsResponse({
  1. required String status,
  2. String? errorMessage,
  3. List<GeocodedWaypoint> geocodedWaypoints = const [],
  4. List<Route> routes = const [],
})

Implementation

DirectionsResponse({
  required String status,
  String? errorMessage,
  this.geocodedWaypoints = const [],
  this.routes = const [],
}) : super(status: status, errorMessage: errorMessage);