SpanEvent.fromJson constructor
Implementation
factory SpanEvent.fromJson(Map<String, dynamic> json) {
return SpanEvent(
timestamp: Int64.parseInt(json['timestamp']),
name: json['name'],
attributes: (json['attributes'] as List).map((e) => api.Attribute.fromJson(e)).toList(),
droppedAttributesCount: json['droppedAttributesCount'],
);
}