getByIndex static method

FloatLength getByIndex(
  1. int index
)

Implementation

static FloatLength getByIndex(int index) {
  final v = values.elementAtOrNull(index);
  if (v == null) {
    throw CborException("Invalid float length index.");
  }
  return v;
}