bodyList<T> function

FromRequest<List<T>> bodyList<T>(
  1. T deserialize(
    1. Map<String, Object?> json
    )
)

Decodes a JSON array body with deserialize.

Implementation

FromRequest<List<T>> bodyList<T>(
  T Function(Map<String, Object?> json) deserialize,
) =>
    JsonListExtractable<T>(deserialize);