Skip to content

Instantly share code, notes, and snippets.

@jmewes
Created June 22, 2021 04:49
Show Gist options
  • Save jmewes/1e9e38ee6ca16f6b55fb9db15678d008 to your computer and use it in GitHub Desktop.
Save jmewes/1e9e38ee6ca16f6b55fb9db15678d008 to your computer and use it in GitHub Desktop.
Example string length property
void main() {
print(''.length);
print('a'.length);
print('abc'.length);
print('abcdefghijklmnopqrstuvwxyz'.length);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment