negativeInteger property

RegExp negativeInteger
final

Negative integer

Implementation

static final RegExp negativeInteger = RegExp(r'^-\d+$');