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