SummaryHandler constructor
SummaryHandler({
- required void onMasstransitSummaries(
- List<
MasstransitSummary> routes
- List<
- required void onMasstransitSummariesError(
- Error error
Implementation
factory SummaryHandler(
{required void Function(
core.List<transport_masstransit_summary.MasstransitSummary>
routes)
onMasstransitSummaries,
required void Function(runtime_error.Error error)
onMasstransitSummariesError}) {
return SummaryHandlerImpl(
onMasstransitSummaries: onMasstransitSummaries,
onMasstransitSummariesError: onMasstransitSummariesError,
);
}