line property

int get line

Implementation

int get line {
  int index = location.indexOf(':');
  index = location.indexOf(':', index + 1);
  var end = location.indexOf(':', index + 1);

  return int.parse(location.substring(index + 1,  end));
}