Link.fromJson constructor

Link.fromJson(
  1. Map json_
)

Implementation

Link.fromJson(core.Map json_)
    : this(
        attributes: json_.containsKey('attributes')
            ? Attributes.fromJson(
                json_['attributes'] as core.Map<core.String, core.dynamic>)
            : null,
        spanId: json_['spanId'] as core.String?,
        traceId: json_['traceId'] as core.String?,
        type: json_['type'] as core.String?,
      );