optJSONArray method
Returns the value mapped by {@code name} if it exists and is a {@code JSONArray}, or null otherwise.
Implementation
List<dynamic>? optJSONArray(String name) {
dynamic object = opt(name);
return object is Iterable ? object.toList() : null;
}