effectiveTitle property

String? get effectiveTitle

The title, or the status's reason phrase when it is null; null only for a status without a known phrase.

Implementation

String? get effectiveTitle =>
    title ?? HttpStatus.resolve(status)?.reasonPhrase;