clientError static method

GatewayTransportResponse clientError({
  1. int statusCode = 400,
})

Implementation

static GatewayTransportResponse clientError({int statusCode = 400}) =>
    GatewayTransportResponse(
      statusCode: statusCode,
      body: '{"error":"bad request"}',
    );