apiPutJson method
Returns the body decoded as JSON of the given endpoint
in the
specified RestAPI after a PUT request. To proper use, specify
apiBaseUrl
.
Implementation
Future<dynamic> apiPutJson(
String endpoint, {
Map<String, String>? headers,
}) async =>
json.decode(await apiPut(endpoint, headers: headers));