toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'args': args,
      if (argsCanBeInterpretedByShell != null)
        'argsCanBeInterpretedByShell': argsCanBeInterpretedByShell,
      'cwd': cwd,
      if (env != null) 'env': env,
      if (kind != null) 'kind': kind,
      if (title != null) 'title': title,
    };