detach method Null safety

Future<int> detach()

Cancel the canvas

Implementation

Future<int> detach();