toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final merge = this.merge;
  final reset = this.reset;
  return {
    if (merge != null) 'merge': merge,
    if (reset != null) 'reset': reset,
  };
}