asList<T> method

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

Cast the jsonBody as a List of Type, as a result of a future.

Implementation

Future<List<T>> asList<T>(T f(Map<String, dynamic> e)) async {
  return (await this).asList<T>(f);
}