ResponseTimeRootCause.fromJson constructor

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

Implementation

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