toJson method

Map<String, dynamic> toJson()

Implementation

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