cancel library Null safety

Classes

CancelParam
it is used to build parameters to request the cancel interface.