HttpResponse extension

on
  • Response

Methods

body<T extends DataModel>() → T

Available on Response, provided by the HttpResponse extension

bodyAsBoolean() bool

Available on Response, provided by the HttpResponse extension

bodyAsDateTime() DateTime

Available on Response, provided by the HttpResponse extension

bodyAsDouble() double

Available on Response, provided by the HttpResponse extension

bodyAsInteger() int

Available on Response, provided by the HttpResponse extension

bodyAsList<T extends DataModel>() List<T>

Available on Response, provided by the HttpResponse extension

bodyAsString() String

Available on Response, provided by the HttpResponse extension