DrivingSummarySessionSummaryListener constructor
DrivingSummarySessionSummaryListener({
- required void onDrivingSummaries(
- List<
DrivingSummary> summaries
- List<
- required void onDrivingSummariesError(
- Error error
Implementation
factory DrivingSummarySessionSummaryListener(
{required void Function(
core.List<directions_driving_route.DrivingSummary> summaries)
onDrivingSummaries,
required void Function(runtime_error.Error error)
onDrivingSummariesError}) {
return DrivingSummarySessionSummaryListenerImpl(
onDrivingSummaries: onDrivingSummaries,
onDrivingSummariesError: onDrivingSummariesError,
);
}