ResultOfGetBlockchainConfig.fromMap constructor

ResultOfGetBlockchainConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

ResultOfGetBlockchainConfig.fromMap(Map<String, dynamic> map) {
  if (map.containsKey('config_boc') && (map['config_boc'] != null)) {
    _config_boc = map['config_boc'];
  } else {
    throw ('Wrong map data');
  }
}