when<R> method

  1. @override
R? when<R>({
  1. R section(
    1. Section section
    )?,
  2. R page(
    1. Page page
    )?,
})
override

Implementation

@override
R? when<R>({
  R Function(Section section)? section,
  R Function(Page page)? page,
}) {
  return section?.call(this);
}