EncoderModel class
A simple serializable encoder model container. Can store metadata and category mappings.
Constructors
-
EncoderModel.new({required String type, required Map<
dynamic, int> labelToIndex, DateTime? trainedAt}) -
EncoderModel.fromJson(Map<
String, dynamic> json) -
Create from a JSON-like Map
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert to a JSON-like Map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited