copyWith method

EglContextDescriptor copyWith({
  1. NativePointer? display,
  2. NativePointer? config,
  3. NativePointer? shareContext,
  4. OpenGlClientApi? clientApi,
  5. 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,
);