toJson method

Map toJson()

Implementation

Map toJson() {
  return {
    'key': key,
    'new_value': newValue,
    'old_value': oldValue,
  };
}