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?
colorblindMode represents the user colorblind mode.
getter/setter pairinherited
colorblindStrength double?
colorblindStrength represents 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?
employeeId represents the employee ID. userId and employeeId can 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?
userId represents the user ID. userId and employeeId can 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

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_AccessibilityInput value)?) → TResult?

Available on AccessibilityInput, provided by the AccessibilityInputPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_AccessibilityInput value)?, {required TResult orElse()}) → TResult

Available on AccessibilityInput, provided by the AccessibilityInputPatterns extension

A variant of map that fallback to returning orElse.
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 of when that fallback to an orElse callback.
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

A switch-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 of when that fallback to returning null

Operators

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