takeLast method Null safety

Characters takeLast(
  1. int count
)

Eagerly selects the last count characters.

If count is greater than length, the count of character available, then the entire sequence of characters is returned.

Implementation

Characters takeLast(int count);