finish method

void finish({
  1. required bool success,
  2. RetainSection? overrideRetention,
})

Finishes the section with success, optionally overriding retention.

Implementation

void finish({required bool success, RetainSection? overrideRetention}) =>
    section.finish(success: success, overrideRetention: overrideRetention);