Success
A model that represents a success response from the API.
In most cases, data
is a string representation of a JSON object from the Forage API, for example:
if (response is ForageApiResponse.Success) {
response.data // { "ref": "abcde123", ... }
}
Content copied to clipboard