toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final create = this.create;
  final delete = this.delete;
  final update = this.update;
  return {
    if (create != null) 'Create': create,
    if (delete != null) 'Delete': delete,
    if (update != null) 'Update': update,
  };
}