rune property

int get rune

Returns the first rune if available, or -1.

Implementation

int get rune => runes.isNotEmpty ? runes.first : -1;