getChains static method

List<Chain> getChains()

Implementation

static List<Chain> getChains() => _guard(() {
  _logAction('getChains');
  final result = window.wagmiCore.getChains();

  return result.toDart.map((item) {
    return Chain.fromMap(item.toMap());
  }).toList();
});