Prediction class

Annotations

Constructors

Prediction({required String id, required String version, required PredictionUrls urls, required DateTime createdAt, required DateTime? startedAt, required DateTime? completedAt, required PredictionStatus status, required Map<String, dynamic> input, required dynamic output, required String? error, required String logs, required PredictionMetrics? metrics})
const
Prediction.fromJson(Map<String, dynamic> json)
factory

Properties

completedAt DateTime?
final
createdAt DateTime
final
error String?
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
input Map<String, dynamic>
final
isTerminated bool
no setter
logs String
final
metrics → PredictionMetrics?
final
output → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startedAt DateTime?
final
status PredictionStatus
final
urls PredictionUrls
final
version String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant Prediction other) bool
The equality operator.
override