Dart Extensions
String Extensions
or Method
The or method replaces the string with the provided parameter if the original string is null or empty.
Example
In this example, if user.displayName is null or empty, it will be replaced with '...'.