Logging.fromJson constructor

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

Implementation

factory Logging.fromJson(Map<String, dynamic> json) {
  return Logging(
    clusterLogging: (json['clusterLogging'] as List?)
        ?.whereNotNull()
        .map((e) => LogSetup.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}