body<T> function

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

Decodes a JSON object body with deserialize.

Implementation

FromRequest<T> body<T>(T Function(Map<String, Object?> json) deserialize) =>
    JsonExtractable<T>(deserialize);