Skip to main content

updateAgendaItem method

[Future] updateAgendaItem(

  1. [[String] itemId, ]
  2. [[Map[<[String], dynamic>]] variables]

)

This function is used to update an agenda item.

params:

  • itemId: Id of agenda item which is to be updated
  • variables: A map of key-value pairs representing the variables required for the GraphQL mutation.

returns:

  • Future<dynamic>: Information about the updated agenda item.

Implementation

Future<dynamic> updateAgendaItem(
String itemId,
Map<String, dynamic> variables,
) async
  1. talawa
  2. event_service
  3. EventService
  4. updateAgendaItem method
EventService class