toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "type": this.type,
    "id": this.id,
    "async": this.async,
    "defer": this.defer,
    "crossOrigin": this.crossOrigin?.toValue(),
    "integrity": this.integrity,
    "noModule": this.noModule,
    "nonce": this.nonce,
    "referrerPolicy": this.referrerPolicy?.toValue(),
  };
}