reload method

Future<void> reload()

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

Implementation

Future<void> reload() async {
  if (!CarpService().isConfigured)
    throw new CarpServiceException(
        message:
            "CARP Service not configured. Call 'CarpService.configure()' first.");

  CarpService().getCurrentUserProfile();
}