toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final currentIterationState = this.currentIterationState;
final previousIterationState = this.previousIterationState;
return {
'currentIterationState': ?currentIterationState,
'previousIterationState': ?previousIterationState,
};
}