toRequest method

  1. @override
Request toRequest()
override

To make a Request and return it.

Implementation

@override
Request toRequest() => Request.get(
      uri: Uri(
        path: '/v1/quotes/$numberOfQuotes',
      ),
    );