asInt method

int asInt()

Implementation

int asInt() => int.parse(value.split("-").last);