ToTypeConverter extension Null safety

on

Methods

request() Future<Request>
to<T>(dynamic creator) Future
Converts the response to the specified type.
toList<T>(dynamic creator) Future<List<T>>
Converts the response to the specified type. Returns a list of the specified type.