getResponse method

Map<String, dynamic>? getResponse()

Get the response as a Map. Returns null if the request has not been made yet.

Implementation

Map<String, dynamic>? getResponse() {
  return response != null ? jsonDecode(response!) : null;
}