isInteger property
bool
get
isInteger
True if all characters are digits (Unicode numeric).
Implementation
bool get isInteger => RegExp(r'^\p{N}+$', unicode: true).hasMatch(this);
True if all characters are digits (Unicode numeric).
bool get isInteger => RegExp(r'^\p{N}+$', unicode: true).hasMatch(this);