Interconnects.fromJson constructor

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

Implementation

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