LoggingConfig.fromJson constructor

LoggingConfig.fromJson(
  1. Map json_
)

Implementation

LoggingConfig.fromJson(core.Map json_)
    : this(
        enableOnpremGcsTransferLogs:
            json_.containsKey('enableOnpremGcsTransferLogs')
                ? json_['enableOnpremGcsTransferLogs'] as core.bool
                : null,
        logActionStates: json_.containsKey('logActionStates')
            ? (json_['logActionStates'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        logActions: json_.containsKey('logActions')
            ? (json_['logActions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );