wings_data_model library Null safety

Classes

BuiltUser
BuiltUserBuilder
CalendarCancelationNotification
CalendarCancelationNotificationBuilder
CalendarEntry
CalendarEntryBuilder
CalendarGqlRepository
CalendarInvitationAcceptedNotification
CalendarInvitationAcceptedNotificationBuilder
CalendarInvitationNotification
Signals a new calendar invitation
CalendarInvitationNotificationBuilder
CalendarRescheduleNotification
CalendarRescheduleNotificationBuilder
CarePlan
CarePlanActivity
CarePlanActivityBuilder
CarePlanActivityDetail
CarePlanActivityDetailBuilder
CarePlanActivityDetailStatus
CarePlanBuilder
CarePlanGqlRepository
CarePlanStatus
Condition
ConditionBuilder
ConditionGqlRepository
ConditionsStorage
Storage class that holds all conditions. This is not meant for public use. It serves as a lookup container for the Condition entity to determine parent / child relationships.
ContentElement
ContentElementBuilder
ContentElementDifficulty
ContentElementGqlRepository
ContentElementType
Country
CountryBuilder
CountryGqlRepository
A simple HttpLink implementation using Dio.
DioLinkResponseContext
Dio link Response Context
EntityCreated<T>
EntityDeleted<T>
EntityRead<T>
EntityUpdated<T>
GraphQLStrapiClient
InstantSerializer
Interest
InterestBuilder
InterestGqlRepository
InterestStorage
Storage class that holds all interests. This is not meant for public use. It serves as a lookup container for the Interest entity to determine parent / child relationships.
Invitation
InvitationBuilder
InvitationStatus
Language
LanguageBuilder
LanguageGqlRepository
LatLng
LatLngBuilder
LocalizedType<T>
Provides a localized string with an easy to use interface. Takes a default locale and stores a map of localized versions of the same string, then provides a getter that retrieves the nearest match. Nearest match means:
LocalizedTypeBuilder<T>
MediaAsset
MediaAssetBuilder
MediaAssetFormatVariant
Media on the CMS is rescaled to different variants. Look up variants using these enums in the formats map of the asset. Not all formats are guaranteed to exist.
MediaAssetLocation
Determines the storage location of an asset
MediaRepository
Media manager class that can work with local and remote media files. Remote media files are stored to the CMS via GraphQL upload. Local files receive random IDs and are not persisted across application restarts.
MediaVariant
MediaVariantBuilder
MoodEntry
MoodEntryBuilder
MoodGqlRepository
MoodStatusNotification
MoodStatusNotificationBuilder
MoodType
Need
NeedBuilder
NeedInvitation
NeedInvitationBuilder
NeedInvitationStatus
NeedsGqlRepository
NeedType
NeedTypeBuilder
NewSupporterLinkedNotification
NewSupporterLinkedNotificationBuilder
Notification
NotificationBuilder
NotificationCalendarEntry
An abbreviated version of a calendar entry that's attached to a notification. The full variant can be retrieved from the calendar repository.
NotificationCalendarEntryBuilder
NotificationGqlRepository
NotificationInvitation
An abbreviated version of a calendar entry invitation that's attached to a notification. The full variant can be retrieved from the calendar repository.
NotificationInvitationBuilder
Organization
OrganizationBuilder
OrganizationType
Originator
OriginatorBuilder
OriginatorGqlRepository
Patient
PatientBuilder
PatientGqlRepository
Period
PeriodBuilder
PeriodSerializer
PlanAction
PlanActionBuilder
PlanDefinition
PlanDefinitionBuilder
PlanDefinitionGqlRepository
Practitioner
PractitionerBuilder
PractitionerGqlRepository
PractitionerPatientRequest
PractitionerPatientRequestBuilder
PractitionerPatientRequestGqlRepository
PractitionerRole
PractitionerRoleBuilder
QuestionnaireGqlRepository
StreamUpdate<T>
Supporter
SupporterBuilder
SupporterGqlRepository
SupporterRequest
SupporterRequestBuilder
SupporterRequestGqlRepository
Timing
TimingBuilder
TimingCode
UnknownNotification
Unknown notification. This instance is only used if we deserialize a notification from the backend that we do not recognize.
UnknownNotificationBuilder
User
UserBuilder
UserGender
UserGqlRepository
Shared method container for PatientGqlReporitory and SupporterGqlRepository. Since both repositories access shared data in the backend, this class contains all shared methods between the Patient and Supporter repository. It has no function on its own, so methods here are generally marked as @protected. Direct calls to this class are discouraged.
WingsRepositories

Extensions

FHIRCanonicalUrl
StringX

Constants

moodAssets → const Map<MoodType, String>
{MoodType.unknown : 'assets/mood/unknown.png', MoodType.sad : 'assets/mood/bad.png', MoodType.ok : 'assets/mood/neutral.png', MoodType.fine : 'asset…
moodAssetsGray → const Map<MoodType, String>
{MoodType.unknown : 'assets/mood/unknown_gray.png', MoodType.sad : 'assets/mood/bad_gray.png', MoodType.ok : 'assets/mood/neutral_gray.png', MoodType.fi…

Exceptions / Errors

DioLinkCanceledException
DioLinkParserException
Exception occurring when parsing fails.
DioLinkServerException
Exception occurring when network fails or parsed response is missing both data and errors.
DioLinkTimeoutException
DioLinkUnkownException