toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (filePath != null) 'filePath': filePath!,
if (functionName != null) 'functionName': functionName!,
if (lineNumber != null) 'lineNumber': lineNumber!,
};