RunInTerminalRequestArguments.fromMap constructor

RunInTerminalRequestArguments.fromMap(
  1. Map<String, Object?> obj
)

Implementation

RunInTerminalRequestArguments.fromMap(Map<String, Object?> obj)
    : args = (obj['args'] as List).map((item) => item as String).toList(),
      argsCanBeInterpretedByShell =
          obj['argsCanBeInterpretedByShell'] as bool?,
      cwd = obj['cwd'] as String,
      env = obj['env'] as Map<String, Object?>?,
      kind = obj['kind'] as String?,
      title = obj['title'] as String?;