blob: fd90a7adbbc133a5af723888aae72c0219c320a3 [file] [log] [blame]
extension A<T> on List<T> {
List<R> myMap<R>(R Function(T) block) {}
}
final list = ["a", "b", "c"].myMap((it) => it);
main() {}