toJson method
Implementation
Map<String, Object?> toJson() => {
'store': store.wire,
'kind': kind.wire,
'item': item,
'plan': plan?.wire,
'amount': amount,
'state': state.wire,
'renews': renews,
'test': test,
'startedAt': startedAt,
'endsAt': endsAt,
};