toJson method

Map<String, dynamic> toJson()

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!,
};