BatchWriteSpansRequest.fromJson constructor

BatchWriteSpansRequest.fromJson(
  1. Map json_
)

Implementation

BatchWriteSpansRequest.fromJson(core.Map json_)
    : this(
        spans: json_.containsKey('spans')
            ? (json_['spans'] as core.List)
                .map((value) => Span.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );