toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'requestName': requestName,
    'requestMethod': requestMethod,
    'url': url,
    'statusCode': statusCode,
    'headers': headers,
    'requestBody': requestBody,
    'responseBody': responseBody,
    'sentTime': sentTime.millisecondsSinceEpoch,
  };
}