Skip to content

Instantly share code, notes, and snippets.

@felipecastrosales
Created April 24, 2022 23:23
Show Gist options
  • Save felipecastrosales/b719719e7805dff1acdcbbd70be2ddbf to your computer and use it in GitHub Desktop.
Save felipecastrosales/b719719e7805dff1acdcbbd70be2ddbf to your computer and use it in GitHub Desktop.
dynamic vs Object
dynamic a;
Object? b;
void main() {
a = '';
b = '';
printLength();
}
printLength() {
print(a.length);
print(b.length);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment