lastChars method

String lastChars(
  1. int n
)

get last n chars from string.

Implementation

String lastChars(int n) => substring(length - n);