success method

Response success([
  1. String? value
])

A shelf.Response for API calls that succeeded.

The response optionally contains a single String value.

Implementation

shelf.Response success([String? value]) => shelf.Response.ok(value);