getBytes method
Implementation
RadBytes getBytes(String key) {
if (_value.containsKey(key)) {
var value = _value[key];
if (value.runtimeType == RadBytes) {
return value as RadBytes;
} else {
throw RadError('RadMap', 'getBytes', 'value is not Bytes.');
}
} else {
throw RadError('RadMap', 'getBytes', 'key $key is not in the Map.');
}
}