Returns the first validation error found among the controls.
@override String? get error => controls.values .map((c) => c.error) .firstWhere((e) => e != null, orElse: () => null);