updateUser abstract method

Future<User> updateUser(
  1. String token,
  2. User user
)

Updates the data for a given user and returns the updated user confirmed by the server.

Implementation

Future<User> updateUser(String token, User user);