toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'adapterID': adapterID,
      if (clientID != null) 'clientID': clientID,
      if (clientName != null) 'clientName': clientName,
      if (columnsStartAt1 != null) 'columnsStartAt1': columnsStartAt1,
      if (linesStartAt1 != null) 'linesStartAt1': linesStartAt1,
      if (locale != null) 'locale': locale,
      if (pathFormat != null) 'pathFormat': pathFormat,
      if (supportsArgsCanBeInterpretedByShell != null)
        'supportsArgsCanBeInterpretedByShell':
            supportsArgsCanBeInterpretedByShell,
      if (supportsInvalidatedEvent != null)
        'supportsInvalidatedEvent': supportsInvalidatedEvent,
      if (supportsMemoryEvent != null)
        'supportsMemoryEvent': supportsMemoryEvent,
      if (supportsMemoryReferences != null)
        'supportsMemoryReferences': supportsMemoryReferences,
      if (supportsProgressReporting != null)
        'supportsProgressReporting': supportsProgressReporting,
      if (supportsRunInTerminalRequest != null)
        'supportsRunInTerminalRequest': supportsRunInTerminalRequest,
      if (supportsStartDebuggingRequest != null)
        'supportsStartDebuggingRequest': supportsStartDebuggingRequest,
      if (supportsVariablePaging != null)
        'supportsVariablePaging': supportsVariablePaging,
      if (supportsVariableType != null)
        'supportsVariableType': supportsVariableType,
    };