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
399 B
14 lines
399 B
import 'package:freezed_annotation/freezed_annotation.dart'; |
|
|
|
part 'stations_result.g.dart'; |
|
part 'stations_result.freezed.dart'; |
|
|
|
@freezed |
|
class StationsResult with _$StationsResult { |
|
const factory StationsResult({ |
|
required String name, |
|
List<String>? stoppedAtBy, |
|
}) = _StationsResult; |
|
|
|
factory StationsResult.fromJson(Map<String, dynamic> json) => _$StationsResultFromJson(json); |
|
}
|
|
|