remove dart invoke example that's not relevant (#35672)

removed example
This commit is contained in:
Ofir Levitan
2025-05-15 18:09:04 +03:00
committed by GitHub
parent cbafd4d48f
commit 2f475ae9f9

View File

@@ -2446,20 +2446,6 @@ functions:
final res = await supabase.functions.invoke('hello', body: {'foo': 'baa'});
final data = res.data;
```
- id: specifying-response-type
name: Specifying response type.
description: |
By default, `invoke()` will parse the response as JSON. You can parse the response in the following formats: `json`, `blob`, `text`, and `arrayBuffer`.
isSpotlight: true
code: |
```dart
final res = await supabase.functions.invoke(
'hello',
body: {'foo': 'baa'},
responseType: ResponseType.text,
);
final data = res.data;
```
- id: parsing-custom-headers
name: Parsing custom headers.
description: |