toList method

List<String> toList()

Converts each JSString in the JSArray to a Dart String and collects them into a List

Implementation

List<String> toList() {
  return toDart.map((jsStr) => jsStr.toDart).toList();
}