| library /*isNonNullableByDefault*/; | |
| import self as self; | |
| import "dart:core" as core; | |
| static method foo<T extends core::Object? = dynamic, S extends core::Object? = dynamic>(core::bool b, self::foo::T% t, self::foo::S% s) → dynamic { | |
| if(t is{ForNonNullableByDefault} core::Object) { | |
| return b ?{core::Object?} t{self::foo::T% & core::Object /* '%' & '!' = '!' */} : s; | |
| } | |
| else { | |
| return null; | |
| } | |
| } | |
| static method main() → dynamic {} |