RecordHFReferralCreateState class
abstract
Methods
-
map<TResult extends Object?>({required TResult create(RecordHFReferralCreateState value), required TResult persisted(RecordHFReferralPersistedState value), required TResult view(RecordHFReferralViewState value), required TResult error(RecordHFReferralErrorState value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? create(RecordHFReferralCreateState value)?, TResult? persisted(RecordHFReferralPersistedState value)?, TResult? view(RecordHFReferralViewState value)?, TResult? error(RecordHFReferralErrorState value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult create(RecordHFReferralCreateState value)?, TResult persisted(RecordHFReferralPersistedState value)?, TResult view(RecordHFReferralViewState value)?, TResult error(RecordHFReferralErrorState value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult create(bool loading, String projectId, String? facilityId, DateTime? dateOfEvaluation, String? healthFacilityCord, String? referredBy, HFReferralModel? hfReferralModel, bool viewOnly)?, TResult persisted(String projectId, String? facilityId, DateTime? dateOfEvaluation, String? healthFacilityCord, String? referredBy, HFReferralModel? hfReferralModel, bool viewOnly)?, TResult view(String projectId, String? facilityId, DateTime? dateOfEvaluation, String? healthFacilityCord, String? referredBy, HFReferralModel? hfReferralModel, bool viewOnly)?, TResult error(String? error)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult create(bool loading, String projectId, String? facilityId, DateTime? dateOfEvaluation, String? healthFacilityCord, String? referredBy, HFReferralModel? hfReferralModel, bool viewOnly), required TResult persisted(String projectId, String? facilityId, DateTime? dateOfEvaluation, String? healthFacilityCord, String? referredBy, HFReferralModel? hfReferralModel, bool viewOnly), required TResult view(String projectId, String? facilityId, DateTime? dateOfEvaluation, String? healthFacilityCord, String? referredBy, HFReferralModel? hfReferralModel, bool viewOnly), required TResult error(String? error)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? create(bool loading, String projectId, String? facilityId, DateTime? dateOfEvaluation, String? healthFacilityCord, String? referredBy, HFReferralModel? hfReferralModel, bool viewOnly)?, TResult? persisted(String projectId, String? facilityId, DateTime? dateOfEvaluation, String? healthFacilityCord, String? referredBy, HFReferralModel? hfReferralModel, bool viewOnly)?, TResult? view(String projectId, String? facilityId, DateTime? dateOfEvaluation, String? healthFacilityCord, String? referredBy, HFReferralModel? hfReferralModel, bool viewOnly)?, TResult? error(String? error)?})
→ TResult?
-
inherited