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