ConnectionsList.fromJson constructor

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

Implementation

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