register method

Response register(
  1. String jsonRequest
)

Implementation

http.Response register(String jsonRequest) {
  _userService?.register(User.fromJson(jsonDecode(jsonRequest)));
  return http.Response("", HttpStatus.created);
}