feat(api): update DeviceLocation model and clean up AuthRepositoryImpl and BillingPageSkeleton

This commit is contained in:
Achintha Isuru
2026-03-18 10:00:27 -04:00
parent f218be44e2
commit 0b5254311d
5 changed files with 25 additions and 408 deletions

View File

@@ -2,6 +2,14 @@ import 'package:equatable/equatable.dart';
/// Represents a geographic location obtained from the device.
class DeviceLocation extends Equatable {
/// Creates a [DeviceLocation] instance.
const DeviceLocation({
required this.latitude,
required this.longitude,
required this.accuracy,
required this.timestamp,
});
/// Latitude in degrees.
final double latitude;
@@ -14,14 +22,6 @@ class DeviceLocation extends Equatable {
/// Time when this location was determined.
final DateTime timestamp;
/// Creates a [DeviceLocation] instance.
const DeviceLocation({
required this.latitude,
required this.longitude,
required this.accuracy,
required this.timestamp,
});
@override
List<Object?> get props => [latitude, longitude, accuracy, timestamp];
List<Object?> get props => <Object?>[latitude, longitude, accuracy, timestamp];
}