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,
      );