Logging.fromJson constructor

Logging.fromJson(
  1. Map json_
)

Implementation

Logging.fromJson(core.Map json_)
    : this(
        consumerDestinations: json_.containsKey('consumerDestinations')
            ? (json_['consumerDestinations'] as core.List)
                .map((value) => LoggingDestination.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        producerDestinations: json_.containsKey('producerDestinations')
            ? (json_['producerDestinations'] as core.List)
                .map((value) => LoggingDestination.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );