toJson method
Implementation
@override
Map<String, dynamic> toJson(UApplyWritesWrite object) => object.when(
create: const CreateConverter().toJson,
update: const UpdateConverter().toJson,
delete: const DeleteConverter().toJson,
unknown: (data) => data,
);