toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (activeTimeMillis != null) 'activeTimeMillis': activeTimeMillis!,
if (activityType != null) 'activityType': activityType!,
if (application != null) 'application': application!,
if (description != null) 'description': description!,
if (endTimeMillis != null) 'endTimeMillis': endTimeMillis!,
if (id != null) 'id': id!,
if (modifiedTimeMillis != null)
'modifiedTimeMillis': modifiedTimeMillis!,
if (name != null) 'name': name!,
if (startTimeMillis != null) 'startTimeMillis': startTimeMillis!,
};