Abi_Serialized.fromMap constructor
Implementation
Abi_Serialized.fromMap(Map<String, dynamic> map) {
if (!map.containsKey('type') || map['type'] != 'Serialized') {
throw ('Wrong map data');
} else {
_type = 'Serialized';
}
if (map.containsKey('value') && (map['value'] != null)) {
_value = AbiContract.fromMap(map['value']);
} else {
throw ('Wrong map data');
}
}