TensorFlowVersion.fromJson constructor

TensorFlowVersion.fromJson(
  1. Map json_
)

Implementation

TensorFlowVersion.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );