You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1021 B
29 lines
1021 B
2 years ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'station_train.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
_$_StationTrain _$$_StationTrainFromJson(Map<String, dynamic> json) =>
|
||
|
_$_StationTrain(
|
||
|
rank: json['rank'] as String,
|
||
|
number: json['number'] as String,
|
||
|
operator: json['operator'] as String,
|
||
|
terminus: json['terminus'] as String,
|
||
|
route:
|
||
|
(json['route'] as List<dynamic>?)?.map((e) => e as String).toList(),
|
||
|
departureDate: DateTime.parse(json['departureDate'] as String),
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$$_StationTrainToJson(_$_StationTrain instance) =>
|
||
|
<String, dynamic>{
|
||
|
'rank': instance.rank,
|
||
|
'number': instance.number,
|
||
|
'operator': instance.operator,
|
||
|
'terminus': instance.terminus,
|
||
|
'route': instance.route,
|
||
|
'departureDate': instance.departureDate.toIso8601String(),
|
||
|
};
|