dynamic detail

Source

@DomName('CustomEvent.detail')
get detail {
  if (_dartDetail != null) {
    return _dartDetail;
  }
  return _detail;
}