library test; | |
int getInt() => 0; | |
num getNum() => 0; | |
double getDouble() => 0.0; | |
class Test1 { | |
int prop = 0; | |
int? prop2; | |
static void test(Test1 t) {} | |
} | |
class Test2 { | |
num prop = 0; | |
num? prop2; | |
static void test(Test2 t) {} | |
} | |
class Test3 { | |
double prop = 0; | |
double? prop2; | |
static void test3(Test3 t) {} | |
} | |
main() {} |