Signer_External.fromMap constructor
Implementation
Signer_External.fromMap(Map<String, dynamic> map) {
if (!map.containsKey('type') || map['type'] != 'External') {
throw ('Wrong map data');
} else {
_type = 'External';
}
if (map.containsKey('public_key') && (map['public_key'] != null)) {
_public_key = map['public_key'];
} else {
throw ('Wrong map data');
}
}