reload method

Future reload()

Manually refreshes the data of the current user (e.g., fullName, telephone, etc.) from the CARP web service.

Implementation

Future reload() async {
  if (CarpService() == null)
    throw new CarpServiceException(
        message:
            "CARP Service not initialized. Call 'CarpService.configure()' first.");

  CarpService().getCurrentUserProfile();
}