Files
intaleq_driver/lib/models/model/admin/monthly_ride.dart
Hamza-Ayed 83a97baed1 25-7-28-2
2025-07-28 12:21:28 +03:00

22 lines
488 B
Dart
Executable File

class MonthlyDataModel {
final int year;
final int month;
final int day;
final int ridesCount;
MonthlyDataModel({
required this.year,
required this.month,
required this.day,
required this.ridesCount,
});
factory MonthlyDataModel.fromJson(Map<String, dynamic> json) =>
MonthlyDataModel(
year: json['year'] as int,
month: json['month'] as int,
day: json['day'] as int,
ridesCount: json['rides_count'] as int,
);
}