copyWith method
- WebGlContextKind? kind,
- int? context,
- String? canvasSelector,
A copy of this value with the given members replaced.
Implementation
WebGlContextDescriptor copyWith({
WebGlContextKind? kind,
int? context,
String? canvasSelector,
}) => WebGlContextDescriptor(
kind: kind ?? this.kind,
context: context ?? this.context,
canvasSelector: canvasSelector ?? this.canvasSelector,
);