error property

String? get error

Gets the first general error message.

Implementation

String? get error => generalErrors.isNotEmpty ? generalErrors[0] : null;