Sampler class Null safety

The sampler class

Inheritance
Annotations

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
@JsonKey(name: 'filter'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
internal String
Internal
@JsonKey(name: 'internal'), final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
srgb bool
SRGB color space
@JsonKey(name: 'srgb'), @StringToBoolConverter(), final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props. [...]
read-only, inherited
vflip bool
Vertical flip
@JsonKey(name: 'vflip'), @StringToBoolConverter(), final
wrap WrapType
The wrap type
@JsonKey(name: 'wrap'), 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 non-existent 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