Ongoing online
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user