EntitySelector constructor

EntitySelector({
  1. String? agencyId,
  2. String? routeId,
  3. int? routeType,
  4. TripDescriptor? trip,
  5. String? stopId,
  6. int? directionId,
})

Implementation

factory EntitySelector({
  $core.String? agencyId,
  $core.String? routeId,
  $core.int? routeType,
  TripDescriptor? trip,
  $core.String? stopId,
  $core.int? directionId,
}) {
  final _result = create();
  if (agencyId != null) {
    _result.agencyId = agencyId;
  }
  if (routeId != null) {
    _result.routeId = routeId;
  }
  if (routeType != null) {
    _result.routeType = routeType;
  }
  if (trip != null) {
    _result.trip = trip;
  }
  if (stopId != null) {
    _result.stopId = stopId;
  }
  if (directionId != null) {
    _result.directionId = directionId;
  }
  return _result;
}