Skip to main content

updateUserProfile method

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

  1. [[Map[<[String], dynamic>]?] variables]

)

Updates the user profile using a GraphQL mutation.

params:

  • variables: A map of key-value pairs representing the variables required for the GraphQL mutation. If null, the mutation is performed without additional variables.

returns:

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

Implementation

Future<QueryResult<Object?>> updateUserProfile(
Map<String, dynamic>? variables,
)
  1. talawa
  2. user_profile_service
  3. UserProfileService
  4. updateUserProfile method
UserProfileService class