toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (finishedOn != null) 'finishedOn': finishedOn!,
if (invocationId != null) 'invocationId': invocationId!,
if (startedOn != null) 'startedOn': startedOn!,
};