toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final command = this.command;
  final entryPoint = this.entryPoint;
  final workingDirectory = this.workingDirectory;
  return {
    if (command != null) 'Command': command,
    if (entryPoint != null) 'EntryPoint': entryPoint,
    if (workingDirectory != null) 'WorkingDirectory': workingDirectory,
  };
}