ColorRecognition class abstract

Inheritance

Constructors

ColorRecognition(String id, int width, int height, Original original, @JsonKey(name: 'main_colors', fromJson: RGB.fromJsonArray) List<RGB> mainColors)
const
factory
ColorRecognition.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$ColorRecognitionCopyWith<_$ColorRecognition>
no setter
hashCode int
The hash code for this object.
no setterinherited
height int
no setter
id String
no setter
mainColors List<RGB>
no setter
original Original
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
no setter

Methods

map<TResult extends Object?>(TResult $default(_FileInfo value), {required TResult color(ColorRecognition value)}) → TResult
inherited
mapOrNull<TResult extends Object?>(TResult? $default(_FileInfo value)?, {TResult? color(ColorRecognition value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>(TResult $default(_FileInfo value)?, {TResult color(ColorRecognition value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>(TResult $default(String id, int width, int height, Original original)?, {TResult color(String id, int width, int height, Original original, List<RGB> mainColors)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(String id, int width, int height, Original original), {required TResult color(String id, int width, int height, Original original, List<RGB> mainColors)}) → TResult
inherited
whenOrNull<TResult extends Object?>(TResult? $default(String id, int width, int height, Original original)?, {TResult? color(String id, int width, int height, Original original, List<RGB> mainColors)?}) → TResult?
inherited

Operators

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