FaultRootCause.fromJson constructor

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

Implementation

factory FaultRootCause.fromJson(Map<String, dynamic> json) {
  return FaultRootCause(
    clientImpacting: json['ClientImpacting'] as bool?,
    services: (json['Services'] as List?)
        ?.whereNotNull()
        .map((e) => FaultRootCauseService.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}