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.
14 lines
415 B
14 lines
415 B
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); |
|
} |