LastFMError constructor

LastFMError(
  1. XmlElement element
)

Implementation

LastFMError(XmlElement element) {
  code = int.parse(element.getAttribute("code") ?? "0");
  message = element.innerText;
}