What about:

    Mat toMap() => { "name": name, "url": url);