startSection method

void startSection(
  1. AFID id, {
  2. bool resetSection = false,
})
inherited

Implementation

void startSection(AFID id, { bool resetSection = false }) {
  currentSection = id;
  var current = sectionErrors[currentSection];
  final curSect = currentSection;
  if(curSect != null && (current == null || resetSection)) {
    current = AFTestErrors(currentSection);
    sectionErrors[curSect] = current;
  }
}