Created
March 22, 2022 20:50
-
-
Save Deleplace/e5324a74364f5d172b4fde170e75fc2e to your computer and use it in GitHub Desktop.
Case-insensitive string contains
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo{ | |
String engine = ""; | |
} | |
void main() { | |
Map<Foo, int> m = {}; | |
var k = Foo(); | |
k.engine = "Rocket Lab"; | |
var v = 42; | |
m[k] = v; | |
print(m); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment