ProcessingEvent_WillFetchFirstBlock.fromMap constructor
Implementation
ProcessingEvent_WillFetchFirstBlock.fromMap(Map<String, dynamic> map) {
if (!map.containsKey('type') || map['type'] != 'WillFetchFirstBlock') {
throw ('Wrong map data');
} else {
_type = 'WillFetchFirstBlock';
}
}