toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (time != null) {
json[r'time'] = time!.toUtc().toIso8601String();
}
if (message != null) {
json[r'message'] = message;
}
if (runID != null) {
json[r'runID'] = runID;
}
return json;
}