JsonExtractable<T> constructor

const JsonExtractable<T>(
  1. T deserialize(
    1. Map<String, Object?> json
    ), {
  2. int limit = defaultBodyLimit,
})

Decodes the body with deserialize.

Implementation

const JsonExtractable(this.deserialize, {this.limit = defaultBodyLimit});