This commit is contained in:
Hamza-Ayed
2023-12-24 21:28:31 +03:00
parent c2fd1187d0
commit 027d248e56
31 changed files with 2001 additions and 10 deletions

View File

@@ -0,0 +1,20 @@
class RideData {
final int year;
final int month;
final int day;
final int ridesCount;
RideData({
required this.year,
required this.month,
required this.day,
required this.ridesCount,
});
factory RideData.fromJson(Map<String, dynamic> json) => RideData(
year: json['year'] as int,
month: json['month'] as int,
day: json['day'] as int,
ridesCount: json['rides_count'] as int,
);
}