getNoteGroup function

Future<ApiResponse<NoteGroup>> getNoteGroup(
  1. ExsitedClient client,
  2. Object noteGroupId, {
  3. Map<String, Object?>? queryParams,
  4. bool? raiseOnError,
  5. String? responseFormat,
})

GET /api/{api_version}/note_groups/{note_group_id}

Implementation

Future<ApiResponse<NoteGroup>> getNoteGroup(
  ExsitedClient client,
  Object noteGroupId, {
  Map<String, Object?>? queryParams,
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendGetRequest(NoteGroupsUrls.noteGroup,
        pathParams: {'note_group_id': noteGroupId},
        queryParams: queryParams,
        raiseOnError: raiseOnError,
        responseFormat: responseFormat,
        dtoDecoder: NoteGroup.fromMap);