Adds or updates one custom overlay metric line.
void setMetric(String key, Object? value) { inject( RenderMetricsInjection( upsertEntries: <String, String>{key: value?.toString() ?? 'null'}, ), ); }