toMap method

Map<String, dynamic> toMap()

Converts instance to a map.

Implementation

Map<String, dynamic> toMap() {
  return {
    "alternate": alternate,
    "crossOrigin": crossOrigin?.toNativeValue(),
    "disabled": disabled,
    "id": id,
    "integrity": integrity,
    "media": media,
    "referrerPolicy": referrerPolicy?.toNativeValue(),
    "title": title,
  };
}