NyResponseExt extension

Extensions for Response

on
  • Response

Properties

path → String

Available on Response, provided by the NyResponseExt extension

Get the path of the request.
no setter

Methods

toJson() → Map<String, dynamic>

Available on Response, provided by the NyResponseExt extension

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

Available on Response, provided by the NyResponseExt extension

Get the data as a model.