Currently types are shown in the UI as their JS objects. Define and implement a solution describing a dart type instead. Example:  Related: https://github.com/dart-lang/sdk/issues/40273