Tpu.fromJson constructor

Tpu.fromJson(
  1. Map json_
)

Implementation

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