ParamsOfGetBlockchainConfig.fromMap constructor

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

Implementation

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