dropRight method

List dropRight([
  1. int n = 1
])

dropRight Creates a slice of array with n elements dropped from the end. @param array the list to compare against @param n the number of elements to drop

Implementation

List dropRight([int n = 1]) => array.dropRight(this, n);