updateById method
Atualiza por id; retorna se afetou algo.
Implementation
@override
Future<bool> updateById(
String table,
Object id,
Map<String, Object?> values,
) async {
final r = await _client.put(
_u('$table/$id'),
headers: _headers,
body: jsonEncode(values),
);
return r.statusCode < 400 && _decode(r)['success'] == true;
}