Result class

Constructors

Result({Score? score, bool? success, bool? completion, TinCanDuration? duration, String? response, Extensions? extensions})

Properties

completion bool?
final
duration TinCanDuration?
final
extensions Extensions?
final
hashCode int
The hash code for this object.
no setterinherited
response String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score Score?
final
success bool?
final

Methods

copyWith({Score? score, bool? success, bool? completion, TinCanDuration? duration, String? response, Extensions? extensions}) Result
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([Version? version]) Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic>? json) Result?