hasOnlyDigits method

bool hasOnlyDigits()

Implementation

bool hasOnlyDigits() => int.tryParse(this) != null;