copyWith method
- int? adapterIndex,
- bool? singleContext,
- OpenGlClientApi? clientApi,
A copy of this value with the given members replaced.
Implementation
OffscreenDeviceOptions copyWith({
int? adapterIndex,
bool? singleContext,
OpenGlClientApi? clientApi,
}) => OffscreenDeviceOptions(
adapterIndex: adapterIndex ?? this.adapterIndex,
singleContext: singleContext ?? this.singleContext,
clientApi: clientApi ?? this.clientApi,
);