getBytes method

RadBytes getBytes(
  1. int index
)

Implementation

RadBytes getBytes(int index) {
  if ([index].runtimeType.toString() == 'RadBytes') {
    return _value[index] as RadBytes;
  } else {
    throw RadError(
        'RadArray', 'getBytes', 'unable to parse $_value as RadBytes.');
  }
}