recordAppStartAttribute method
Sets an attribute on the in-flight native cold-start app.start span.
Global attributes cannot cover this: native appends those when a span
starts, and app.start starts at process creation, before Dart runs.
Defaults to a no-op.
Implementation
@override
Future<void> recordAppStartAttribute(String key, String value) async {
try {
await startupChannel.invokeMethod('recordAppStartAttribute', {
'key': key,
'value': value,
});
} on MissingPluginException {
// Platform has no native handler yet — the attribute is not recorded.
}
}