Logging.fromJson constructor

Logging.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Logging.fromJson(Map<String, dynamic> json) {
  return Logging(
    producerDestinations:
        decodeListMessage(
          json['producerDestinations'],
          Logging_LoggingDestination.fromJson,
        ) ??
        [],
    consumerDestinations:
        decodeListMessage(
          json['consumerDestinations'],
          Logging_LoggingDestination.fromJson,
        ) ??
        [],
  );
}