copyWith method
copyWith is the function to copy the class.
Implementation
DRMINFO copyWith({
String? vendor,
String? version,
String? description,
String? algorithms,
String? systemId,
String? securityLevel,
String? hdcpLevel,
String? maxHdcpLevel,
String? usageRepostingSupport,
String? maxNoOfSessions,
String? noOfOpenSessions,
}) {
return DRMINFO(
vendor: vendor ?? this.vendor,
version: version ?? this.version,
description: description ?? this.description,
algorithms: algorithms ?? this.algorithms,
systemId: systemId ?? this.systemId,
securityLevel: securityLevel ?? this.securityLevel,
hdcpLevel: hdcpLevel ?? this.hdcpLevel,
maxHdcpLevel: maxHdcpLevel ?? this.maxHdcpLevel,
usageRepostingSupport:
usageRepostingSupport ?? this.usageRepostingSupport,
maxNoOfSessions: maxNoOfSessions ?? this.maxNoOfSessions,
noOfOpenSessions: noOfOpenSessions ?? this.noOfOpenSessions,
);
}