codeName property

String get codeName

Given a status code, return the name

Implementation

String get codeName =>
    StatusCode.name(code) ?? StatusCode.name(StatusCode.unknown)!;