bodyAsJsonMap property

Future<Map<String, dynamic>> get bodyAsJsonMap

Parse the body, and convert it to a json map

Implementation

Future<Map<String, dynamic>> get bodyAsJsonMap async =>
    Map<String, dynamic>.from((await body) as Map);