Skip to content

Instantly share code, notes, and snippets.

@DRSchlaubi
Created March 9, 2020 19:23
Show Gist options
  • Save DRSchlaubi/eb4e20605e2c9228afd50f3d8b025787 to your computer and use it in GitHub Desktop.
Save DRSchlaubi/eb4e20605e2c9228afd50f3d8b025787 to your computer and use it in GitHub Desktop.
dart sublist
void main() {
var list = [1,2,3,4,5,6,7,78,9];
print(list.sublist(0, list.length));
print(list.sublist(0, list.length - 1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment