createUser method

Future<Response> createUser(
  1. String name,
  2. String email,
  3. String password
)

Creates a user in the users services and returns Future<http.Response>

Implementation

Future<http.Response> createUser(String name, String email, String password) {
  var url = wsURL + 'create';
  return http.post(Uri.parse(url),
      body: {'name': name, 'email': email, 'password': password});
}