json method
Implementation
Future<TestResponse> json(
String method,
String path, [
Object? body,
Map<String, String>? headers,
]) => _send(
method,
path,
json: body ?? const <String, Object?>{},
headers: {'accept': 'application/json', ...?headers},
);