copyWith method
- NativePointer? display,
- NativePointer? config,
- OpenGlClientApi? clientApi,
- NativePointer? getProcAddress,
A copy of this value with the given members replaced.
Implementation
EglContextDescriptor copyWith({
NativePointer? display,
NativePointer? config,
NativePointer? shareContext,
OpenGlClientApi? clientApi,
NativePointer? getProcAddress,
}) => EglContextDescriptor(
display: display ?? this.display,
config: config ?? this.config,
shareContext: shareContext ?? this.shareContext,
clientApi: clientApi ?? this.clientApi,
getProcAddress: getProcAddress ?? this.getProcAddress,
);