of_the_list<T extends CandidType> static method

Vector<T> of_the_list<T extends CandidType>(
  1. Iterable<T> list, {
  2. T? values_type,
})

Implementation

static Vector<T> of_the_list<T extends CandidType>(Iterable<T> list, {T? values_type}) {
    Vector<T> vec = Vector<T>(values_type: values_type);
    vec.addAll(list);
    return vec;
}