toMap method

Map<String, dynamic> toMap()

toMap returns the map of DRMINFO.

Implementation

Map<String, dynamic> toMap() {
  return {
    'vendor': vendor,
    'version': version,
    'description': description,
    'algorithms': algorithms,
    'systemId': systemId,
    'securityLevel': securityLevel,
    'hdcpLevel': hdcpLevel,
    'maxHdcpLevel': maxHdcpLevel,
    'usageRepostingSupport': usageRepostingSupport,
    'maxNoOfSessions': maxNoOfSessions,
    'noOfOpenSessions': noOfOpenSessions,
  };
}