toList method

List<JSValue> toList(
  1. JSContext context,
  2. int count
)

Implementation

List<JSValue> toList(JSContext context, int count) =>
    List<JSValue>.generate(count, (index) => JSValue(context, this[index]));