copyWith method
Implementation
AlexaDevice copyWith(
{String? deviceID,
Map<String, dynamic>? supportedInterfaces,
String? persistentEndpointID}) {
return AlexaDevice(
deviceID: deviceID ?? this.deviceID,
supportedInterfaces: supportedInterfaces ?? this.supportedInterfaces,
persistentEndpointID:
persistentEndpointID ?? this.persistentEndpointID);
}