Ongoing online

This commit is contained in:
Sewmina
2022-03-21 19:43:49 +05:30
parent 211e1b70b4
commit ee678fcc88
10 changed files with 408 additions and 12 deletions

View File

@@ -50,6 +50,14 @@ class Activity{
DateTime endTime;
String? metadata;
Activity.fromJson(Map<String,dynamic> json): taskType=json['taskType'], startTime=json['sTime'], endTime=json['eTime'];
Map<String, dynamic> toJson()=>{
'taskType': taskType,
'sTime':startTime,
'eTime':endTime
};
static String colType = "type";
static String colStartTime = "s_time";
static String colEndTime = "e_time";