NmDecision class

An offer or approval card produced by a turn.

Annotations

Constructors

NmDecision({required String id, required NmDecisionKind kind, required String text, required NmDecisionState state, String? note})
Creates an NmDecision.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Stable id (the app's / backend's).
final
kind → NmDecisionKind
Offer or approval.
final
note → String?
Optional line under a resolved card (e.g. why it failed).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → NmDecisionState
Current state.
final
text → String
The action, e.g. «Купить sklad-dlya-sellerov.ru · 1 190 ₽ · оценка 74/100».
final

Methods

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

Operators

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