GradientDto<T extends Gradient> class abstract DTO

Represents a base Data transfer object of Gradient

This is used to allow for resolvable value tokens, and also the correct merge and combining behavior. It allows to be merged, and resolved to a `Gradient

See also:

Inheritance
Implementers
Annotations

Constructors

GradientDto({List<double>? stops, List<ColorDto>? colors, GradientTransform? transform})
const

Properties

colors List<ColorDto>?
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stops List<double>?
final
stringify bool
no setterinherited
transform GradientTransform?
final

Methods

getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant GradientDto<T>? other) GradientDto<T>
Merges GradientDto with another other GradientDto
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(MixData mix) → T
Resolves GradientDto given a MixData into a [Gradient
override
toString() String
A string representation of this object.
inherited

Operators

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