DiagnosticConfig.fromJson constructor

DiagnosticConfig.fromJson(
  1. Map json_
)

Implementation

DiagnosticConfig.fromJson(core.Map json_)
    : this(
        enableCopyHomeFilesFlag: json_.containsKey('enableCopyHomeFilesFlag')
            ? json_['enableCopyHomeFilesFlag'] as core.bool
            : null,
        enablePacketCaptureFlag: json_.containsKey('enablePacketCaptureFlag')
            ? json_['enablePacketCaptureFlag'] as core.bool
            : null,
        enableRepairFlag: json_.containsKey('enableRepairFlag')
            ? json_['enableRepairFlag'] as core.bool
            : null,
        gcsBucket: json_.containsKey('gcsBucket')
            ? json_['gcsBucket'] as core.String
            : null,
        relativePath: json_.containsKey('relativePath')
            ? json_['relativePath'] as core.String
            : null,
      );