blob: 81c0904b9381461bcfcda7a74551b164fa54d5c8 [file] [log] [blame]
class Foo<T> {
const Foo(T Function(String)? foo) : _foo = foo ?? bar;
final T Function(String) _foo;
}
T bar<T>(String o) => o as T;
void main() {}