orElse method Null safety

String orElse(
  1. String string
)

return the given string if this is null

Implementation

String orElse(String string) => this ?? string;