UniformSharding.fromJson constructor

UniformSharding.fromJson(
  1. Map json_
)

Implementation

UniformSharding.fromJson(core.Map json_)
    : this(
        numShards: json_.containsKey('numShards')
            ? json_['numShards'] as core.int
            : null,
      );