errorCount property

int get errorCount

Number of items with errors.

Implementation

int get errorCount => _errors.where((e) => e != null && e.isNotEmpty).length;