toMap method

Map<String, Object?> toMap()

Converts to a map.

Implementation

Map<String, Object?> toMap() {
  return <String, Object?>{
    'drmType': type.index,
    'licenseServerUrl': licenseServerUrl,
  };
}