toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  final data = <String, Object?>{};
  if (changed != null) {
    data['changed'] = changed;
  }
  if (left != null) {
    data['left'] = left;
  }
  return data;
}