getMemos method

Future<List> getMemos(
  1. int hospitalId
)

Retrieves a list of memos for a specific hospital.

hospitalId The ID of the hospital. Returns a Future<List<dynamic>> containing a list of memo data.

Implementation

Future<List<dynamic>> getMemos(int hospitalId) async {
  return await _makeListRequest('/api/$hospitalId/memos/', method: 'GET');
}