info_tren/lib/models/stations_result.dart
2021-08-28 04:35:58 +03:00

14 lines
No EOL
415 B
Dart

import 'package:json_annotation/json_annotation.dart';
part 'stations_result.g.dart';
@JsonSerializable()
class StationsResult {
final String name;
final List<String>? stoppedAtBy;
const StationsResult({required this.name, this.stoppedAtBy});
factory StationsResult.fromJson(Map<String, dynamic> json) => _$StationsResultFromJson(json);
Map<String, dynamic> toJson() => _$StationsResultToJson(this);
}