Monitoring.fromJson constructor

Monitoring.fromJson(
  1. Map json_
)

Implementation

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