FaultRootCauseEntity.fromJson constructor

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

Implementation

factory FaultRootCauseEntity.fromJson(Map<String, dynamic> json) {
  return FaultRootCauseEntity(
    exceptions: (json['Exceptions'] as List?)
        ?.whereNotNull()
        .map((e) => RootCauseException.fromJson(e as Map<String, dynamic>))
        .toList(),
    name: json['Name'] as String?,
    remote: json['Remote'] as bool?,
  );
}