updateRecord<T> method
Implementation
@override
Future<T> updateRecord<T>(String recordId,
{String? expand, String? fields, dynamic body}) async {
try {
Client client = Client(
_baseUrl,
collectionName: _name,
expand: expand,
fields: fields,
recordId: recordId,
);
return await client.patch<T>(body: body);
} catch (e) {
rethrow;
}
}