release method

Future<void> release()

Implementation

Future<void> release() async {
  await onRelease?.call();
}