Stop constructor
Stop({
- String? stopId,
- TranslatedString? stopCode,
- TranslatedString? stopName,
- TranslatedString? ttsStopName,
- TranslatedString? stopDesc,
- double? stopLat,
- double? stopLon,
- String? zoneId,
- TranslatedString? stopUrl,
- String? parentStation,
- String? stopTimezone,
- Stop_WheelchairBoarding? wheelchairBoarding,
- String? levelId,
- TranslatedString? platformCode,
Implementation
factory Stop({
$core.String? stopId,
TranslatedString? stopCode,
TranslatedString? stopName,
TranslatedString? ttsStopName,
TranslatedString? stopDesc,
$core.double? stopLat,
$core.double? stopLon,
$core.String? zoneId,
TranslatedString? stopUrl,
$core.String? parentStation,
$core.String? stopTimezone,
Stop_WheelchairBoarding? wheelchairBoarding,
$core.String? levelId,
TranslatedString? platformCode,
}) {
final $result = create();
if (stopId != null) {
$result.stopId = stopId;
}
if (stopCode != null) {
$result.stopCode = stopCode;
}
if (stopName != null) {
$result.stopName = stopName;
}
if (ttsStopName != null) {
$result.ttsStopName = ttsStopName;
}
if (stopDesc != null) {
$result.stopDesc = stopDesc;
}
if (stopLat != null) {
$result.stopLat = stopLat;
}
if (stopLon != null) {
$result.stopLon = stopLon;
}
if (zoneId != null) {
$result.zoneId = zoneId;
}
if (stopUrl != null) {
$result.stopUrl = stopUrl;
}
if (parentStation != null) {
$result.parentStation = parentStation;
}
if (stopTimezone != null) {
$result.stopTimezone = stopTimezone;
}
if (wheelchairBoarding != null) {
$result.wheelchairBoarding = wheelchairBoarding;
}
if (levelId != null) {
$result.levelId = levelId;
}
if (platformCode != null) {
$result.platformCode = platformCode;
}
return $result;
}