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
- talawa
- event_service
- EventService
- createEvent method