fmapOn<T1> method

  1. @Deprecated('There are very few usecases for this.')
T fmapOn<T1>(
  1. T fn(
    1. T1
    )
)

Implementation

@Deprecated('There are very few usecases for this.')
T fmapOn<T1>(T Function(T1) fn) => this is T1 ? fn(this as T1) : this;