DependencyEdge.fromJson constructor

DependencyEdge.fromJson(
  1. Map json_
)

Implementation

DependencyEdge.fromJson(core.Map json_)
    : this(
        headTokenIndex: json_.containsKey('headTokenIndex')
            ? json_['headTokenIndex'] as core.int
            : null,
        label:
            json_.containsKey('label') ? json_['label'] as core.String : null,
      );