toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final enable = this.enable;
  final rollback = this.rollback;
  return {
    'enable': enable,
    'rollback': rollback,
  };
}