LoggingDestination.fromJson constructor

LoggingDestination.fromJson(
  1. Map json_
)

Implementation

LoggingDestination.fromJson(core.Map json_)
    : this(
        logs: json_.containsKey('logs')
            ? (json_['logs'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        monitoredResource: json_.containsKey('monitoredResource')
            ? json_['monitoredResource'] as core.String
            : null,
      );