Stream<String> mapToString([String Function(int)? mapper]) { return map((event) => mapper != null ? mapper(event) : '$event'); }