TextDecoration class Null safety

Implementers
Annotations
  • @freezed

Constructors

TextDecoration.fromJson(Map<String, Object?> json)
factory
TextDecoration.lineThrough()
const
factory
TextDecoration.none()
const
factory
TextDecoration.overline()
const
factory
TextDecoration.underline()
const
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

map<TResult extends Object?>({required TResult none(TextDecorationNone value), required TResult underline(TextDecorationUnderline value), required TResult overline(TextDecorationOverline value), required TResult lineThrough(TextDecorationLineThrough value)}) → TResult
@optionalTypeArgs, inherited
mapOrNull<TResult extends Object?>({TResult? none(TextDecorationNone value)?, TResult? underline(TextDecorationUnderline value)?, TResult? overline(TextDecorationOverline value)?, TResult? lineThrough(TextDecorationLineThrough value)?}) → TResult?
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>({TResult none(TextDecorationNone value)?, TResult underline(TextDecorationUnderline value)?, TResult overline(TextDecorationOverline value)?, TResult lineThrough(TextDecorationLineThrough value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>({TResult none()?, TResult underline()?, TResult overline()?, TResult lineThrough()?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult none(), required TResult underline(), required TResult overline(), required TResult lineThrough()}) → TResult
@optionalTypeArgs, inherited
whenOrNull<TResult extends Object?>({TResult? none()?, TResult? underline()?, TResult? overline()?, TResult? lineThrough()?}) → TResult?
@optionalTypeArgs, inherited

Operators

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