requestAsJson method

Future requestAsJson()

Reads request value and parse as json

Implementation

Future<dynamic> requestAsJson() async =>
    json.decode(await request.readAsString());