getChainsInfo method
Implementation
Future<Map<String, BridgeChainData>> getChainsInfo() async {
final data = await service.getChainsInfo();
final Map<String, BridgeChainData> res = {};
data.keys.forEach((chainName) {
res[chainName] =
BridgeChainData.fromJson(Map<String, dynamic>.from(data[chainName]));
});
return res;
}