ShardingOption.fromJson constructor
ShardingOption.fromJson(
- Map json_
Implementation
ShardingOption.fromJson(core.Map json_)
: this(
manualSharding: json_.containsKey('manualSharding')
? ManualSharding.fromJson(json_['manualSharding']
as core.Map<core.String, core.dynamic>)
: null,
smartSharding: json_.containsKey('smartSharding')
? SmartSharding.fromJson(
json_['smartSharding'] as core.Map<core.String, core.dynamic>)
: null,
uniformSharding: json_.containsKey('uniformSharding')
? UniformSharding.fromJson(json_['uniformSharding']
as core.Map<core.String, core.dynamic>)
: null,
);