ColorDto class DTO

A Data transfer object that represents a Color value.

This DTO is used to resolve a Color value from a MixData instance.

See also:

Inheritance
Annotations

Constructors

ColorDto(Color value)
const
ColorDto.directive(ColorDirective directive)
ColorDto.raw({Color? value, List<ColorDirective> directives = const []})
const

Properties

directives List<ColorDirective>
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
stringify bool
no setterinherited
value Color?
final

Methods

getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant ColorDto? other) ColorDto
Merges this object with other, returning a new object of type T.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(MixData mix) Color
override
toString() String
A string representation of this object.
inherited

Operators

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