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