Sign in
dart
/
sdk.git
/
refs/tags/2.14.0-86.0.dev
/
.
/
pkg
/
front_end
/
parser_testcases
/
non-nnbd
/
use_required_in_non_nnbd.dart
blob: bc770a62a9e55edc51eef31d758def8276589a4f [
file
] [
log
] [
blame
]
void
foo1
({
required
int
x1
})
{
print
(
x
);
}
void
foo2
({
required x2
})
{
print
(
x
);
}
void
foo3
({
required required x3
})
{
print
(
x
);
}
class
Foo
{
void
foo4
({
required covariant
int
x4
})
{
print
(
x
);
}
}