FaceEmbedding class

Constructors

FaceEmbedding.new({required int id, required String name, Uint8List? imageCenter, Uint8List? imageLeft, Uint8List? imageRight, Uint8List? imageUp, Uint8List? imageDown, required List<double> embeddingCenter, required List<double> embeddingLeft, required List<double> embeddingRight, required List<double> embeddingUp, required List<double> embeddingDown})
const
FaceEmbedding.fromJson(Map<String, dynamic> json, {ValueSerializer? serializer})
factory

Properties

embeddingCenter List<double>
final
embeddingDown List<double>
final
embeddingLeft List<double>
final
embeddingRight List<double>
final
embeddingUp List<double>
final
hashCode int
The hash code for this object.
no setteroverride
id int
final
imageCenter Uint8List?
final
imageDown Uint8List?
final
imageLeft Uint8List?
final
imageRight Uint8List?
final
imageUp Uint8List?
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? id, String? name, Value<Uint8List?> imageCenter = const Value.absent(), Value<Uint8List?> imageLeft = const Value.absent(), Value<Uint8List?> imageRight = const Value.absent(), Value<Uint8List?> imageUp = const Value.absent(), Value<Uint8List?> imageDown = const Value.absent(), List<double>? embeddingCenter, List<double>? embeddingLeft, List<double>? embeddingRight, List<double>? embeddingUp, List<double>? embeddingDown}) FaceEmbedding
copyWithCompanion(FaceEmbeddingsCompanion data) FaceEmbedding
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toColumns(bool nullToAbsent) Map<String, Expression<Object>>
Converts this object into a map of column names to expressions to insert or update.
toCompanion(bool nullToAbsent) FaceEmbeddingsCompanion
toJson({ValueSerializer? serializer}) Map<String, dynamic>
Converts this object into a representation that can be encoded with json. The serializer can be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.
toJsonString({ValueSerializer? serializer}) String
Converts this object into a json representation. The serializer can be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.
inherited
toString() String
A string representation of this object.
override

Operators

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