attributedStringTextEffectStyleFromWire function

AttributedStringTextEffectStyle? attributedStringTextEffectStyleFromWire(
  1. Object? value
)

Implementation

AttributedStringTextEffectStyle? attributedStringTextEffectStyleFromWire(
  Object? value,
) {
  if (value is! String) return null;
  final index = _attributedStringTextEffectStyle_wire.indexOf(value);
  return index >= 0 ? AttributedStringTextEffectStyle.values[index] : null;
}