toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final stateName = this.stateName;
  final timers = this.timers;
  final variables = this.variables;
  return {
    'stateName': stateName,
    'timers': timers,
    'variables': variables,
  };
}