Skip to main content

createEvent method

[Future[<[QueryResult[<[Object?]>]]>]]

This function is used to create an event using a GraphQL mutation.

params:

  • variables: A map of key-value pairs representing the variables required for the GraphQL mutation.

returns:

  • Future<QueryResult<Object?>>: which contains the result of the GraphQL mutation.

Implementation

Future<QueryResult<Object?>>  async 
  1. talawa
  2. event_service
  3. EventService
  4. createEvent method
EventService class