Skip to content

Instantly share code, notes, and snippets.

@timburks
Created December 2, 2020 05:31
Show Gist options
  • Save timburks/4f181bccd661f5ae463db1deb97fc4c0 to your computer and use it in GitHub Desktop.
Save timburks/4f181bccd661f5ae463db1deb97fc4c0 to your computer and use it in GitHub Desktop.
Comparing Dart instance methods
class Foo {
void f() {
print("f");
}
}
void main() {
Foo a = Foo();
Foo b = Foo();
print("${a.f == b.f}");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment