toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.after != null) {
    json[r'after'] = this.after;
  } else {
    json[r'after'] = null;
  }
  if (this.before != null) {
    json[r'before'] = this.before;
  } else {
    json[r'before'] = null;
  }
  return json;
}