AccessibilityInput class abstract
- Available extensions
- Annotations
-
- @unfreezed
Constructors
- AccessibilityInput({String? userId, String? employeeId, @JsonKey.new(unknownEnumValue: ColorblindMode.normal) ColorblindMode? colorblindMode, double? colorblindStrength})
-
factory
-
AccessibilityInput.fromJson(Map<
String, dynamic> json) -
factory
Properties
- colorblindMode ↔ ColorblindMode?
-
colorblindModerepresents the user colorblind mode.getter/setter pairinherited - colorblindStrength ↔ double?
-
colorblindStrengthrepresents the user colorblind strength.getter/setter pairinherited -
copyWith
→ $AccessibilityInputCopyWith<
AccessibilityInput> -
Create a copy of AccessibilityInput
with the given fields replaced by the non-null parameter values.
no setterinherited
- employeeId ↔ String?
-
employeeIdrepresents the employee ID.userIdandemployeeIdcan not be null or together at the same time.getter/setter pairinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId ↔ String?
-
userIdrepresents the user ID.userIdandemployeeIdcan not be null or together at the same time.getter/setter pairinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_AccessibilityInput value)) → TResult -
Available on AccessibilityInput, provided by the AccessibilityInputPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_AccessibilityInput value)?) → TResult? -
Available on AccessibilityInput, provided by the AccessibilityInputPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_AccessibilityInput value)?, {required TResult orElse()}) → TResult -
Available on AccessibilityInput, provided by the AccessibilityInputPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(String? userId, String? employeeId, ColorblindMode? colorblindMode, double? colorblindStrength)?, {required TResult orElse()}) → TResult -
Available on AccessibilityInput, provided by the AccessibilityInputPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this AccessibilityInput to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String? userId, String? employeeId, ColorblindMode? colorblindMode, double? colorblindStrength)) → TResult -
Available on AccessibilityInput, provided by the AccessibilityInputPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String? userId, String? employeeId, ColorblindMode? colorblindMode, double? colorblindStrength)?) → TResult? -
Available on AccessibilityInput, provided by the AccessibilityInputPatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited