LogsPolicy.fromJson constructor

LogsPolicy.fromJson(
  1. Map json_
)

Implementation

LogsPolicy.fromJson(core.Map json_)
    : this(
        cloudLoggingOption: json_.containsKey('cloudLoggingOption')
            ? CloudLoggingOption.fromJson(json_['cloudLoggingOption']
                as core.Map<core.String, core.dynamic>)
            : null,
        destination: json_.containsKey('destination')
            ? json_['destination'] as core.String
            : null,
        logsPath: json_.containsKey('logsPath')
            ? json_['logsPath'] as core.String
            : null,
      );