createUser method

Future createUser(
  1. String userId
)

Implementation

Future createUser(String userId) async {
  Map<String, dynamic> body = {
    'user_id': userId,
    'nickname': userId,
    'profile_url': ""
  };
  var result =
      await this._rest.postTo(this._usersApi, this._defaultHeaders, body);
  return result;
}