TrainingMiningEntry class
A single entry within a TrainingMiningAssertion.
Each entry specifies a permission level for a particular use case such as AI training, data mining, or AI inference.
Constructors
- TrainingMiningEntry({required String use, String? constraintInfo})
-
Creates an instance of TrainingMiningEntry.
const
-
TrainingMiningEntry.fromJson(Map<
String, dynamic> json) -
Creates a TrainingMiningEntry from a JSON map.
factory
Properties
- constraintInfo → String?
-
An optional URL or description of the constraints.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAllowed → bool
-
Whether this entry allows the associated use (possibly
with constraints).
no setter
- isNotAllowed → bool
-
Whether this entry explicitly forbids the associated use.
no setter
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited - use → String
-
The permission level for this entry.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes this entry to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited