warning property
String?
get
warning
Returns the first general warning message, or null if there are no warnings.
This is a convenience getter for accessing the most important general warning when you only need to display a single warning message to the user.
Implementation
String? get warning => generalWarnings.isNotEmpty ? generalWarnings[0] : null;