AuthClientConformanceResponse.json constructor

const AuthClientConformanceResponse.json(
  1. Object? body, {
  2. int statusCode = 200,
  3. Map<String, String> headers = const <String, String>{},
})

Creates a JSON response.

Implementation

const AuthClientConformanceResponse.json(
  Object? body, {
  this.statusCode = 200,
  this.headers = const <String, String>{},
}) : _jsonBody = body,
     _rawBody = null;