asList<T> method

List<T> asList<T>(
  1. T f(
    1. Map<String, dynamic> e
    )
)

Cast the jsonBody as a List of Type by applying the transformation function to each underlying item.

Implementation

List<T> asList<T>(T f(Map<String, dynamic> e)) => asIterable<T>(f).toList();