update method
Implementation
Future<T> update(
dynamic id,
Map source, {
bool protected = true,
bool verbose = false,
}) async {
final Response response = await put(
'/$id',
body: source,
protected: protected,
verbose: verbose,
);
final Map<String, Object?> data = response.data;
return parser.fromJson(data);
}