Connections.fromJson constructor
Implementation
factory Connections.fromJson(Map<String, dynamic> json) {
return Connections(
connections: (json['connections'] as List?)
?.whereNotNull()
.map((e) => Connection.fromJson(e as Map<String, dynamic>))
.toList(),
);
}