ReportEmergencyHint class final

A short hint in the report form for categories where someone may be in danger, e.g. to call the emergency services. Pass null to LimeniaReportForm.emergencyHint to never show one.

Annotations

Constructors

ReportEmergencyHint({Set<String> categories = defaultCategories, String? text})
Creates a hint for categories, with text or the built-in LimeniaUiStrings.emergencyHint.
const

Properties

categories → Set<String>
Category codes for which the hint is shown.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String?
The text, e.g. with a helpline of your country. Null for LimeniaUiStrings.emergencyHint.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

defaultCategories → const Set<String>
Self-harm and violence.