NyResponse extension

Extensions for Response

on
  • Response

Properties

path String

Available on Response, provided by the NyResponse extension

Get the path of the request.
no setter

Methods

toJson() Map<String, dynamic>

Available on Response, provided by the NyResponse extension

Get the cache key for the request.
toModel<T>() → T

Available on Response, provided by the NyResponse extension

Get the data as a model.