implemented RMV public transit module including trip search, station departures, and nearby stop lookup, added "Marianum Connect" API integration with bearer token authentication and auto-refresh logic, integrated geolocator for location-based station search, added persistent storage for favorite stations and recent trip queries, and implemented comprehensive UI for journey details, trip results, and disruption alerts
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
import '../../../../../api/connect/rmv/rmv_models.dart';
|
||||
|
||||
part 'rmv_state.freezed.dart';
|
||||
part 'rmv_state.g.dart';
|
||||
|
||||
@freezed
|
||||
abstract class RmvState with _$RmvState {
|
||||
const factory RmvState({@Default(<HimMessage>[]) List<HimMessage> disruptions}) =
|
||||
_RmvState;
|
||||
|
||||
factory RmvState.fromJson(Map<String, Object?> json) =>
|
||||
_$RmvStateFromJson(json);
|
||||
}
|
||||
Reference in New Issue
Block a user