copyWith method
Sampler
copyWith({
- FilterType? filter,
- WrapType? wrap,
- bool? vflip,
- bool? srgb,
- String? internal,
Builds a copy of a Sampler
filter
: Filter typewrap
: Wrap typevflip
: Vertical flipsrgb
: Srgb color space
Implementation
Sampler copyWith({
FilterType? filter,
WrapType? wrap,
bool? vflip,
bool? srgb,
String? internal,
}) {
return Sampler(
filter: filter ?? this.filter,
wrap: wrap ?? this.wrap,
vflip: vflip ?? this.vflip,
srgb: srgb ?? this.srgb,
internal: internal ?? this.internal,
);
}