logMapped<R> method

T logMapped<R>(
  1. R mapper(
    1. E e
    ), {
  2. String? prefix,
})

Implementation

T logMapped<R>(R Function(E e) mapper, {String? prefix}) {
  var o = mapper(element);
  log(msg: o, prefix: prefix);
  return this as T;
}