Sampler class

The sampler class

Annotations
  • @JsonSerializable()

Constructors

Sampler({required FilterType filter, required WrapType wrap, required bool vflip, required bool srgb, required String internal})
Builds a Sampler
const
Sampler.fromJson(Map<String, dynamic> json)
Creates a Sampler from json map
factory

Properties

filter FilterType
The filter type
final
hashCode int
The hash code for this object.
no setterinherited
internal String
Internal
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
srgb bool
SRGB color space
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
vflip bool
Vertical flip
final
wrap WrapType
The wrap type
final

Methods

copyWith({FilterType? filter, WrapType? wrap, bool? vflip, bool? srgb, String? internal}) Sampler
Builds a copy of a Sampler
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Creates a json map from a Sampler
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited