print(x.runtimeType);
print(x.runtimeType);
String t = "";
print(t.runtimeType)
// String
String t = "";
print(t.runtimeType)
// String
class Foo {...}
main() {
var foo = new Foo();
if (foo is Foo) { // Check done here
print("it's a foo!");
}
}
class Foo {...}
main() {
var foo = new Foo();
if (foo is Foo) { // Check done here
print("it's a foo!");
}
}