PartitionConfig.fromJson constructor
PartitionConfig.fromJson(
- Map json_
Implementation
PartitionConfig.fromJson(core.Map json_)
: this(
capacity: json_.containsKey('capacity')
? Capacity.fromJson(
json_['capacity'] as core.Map<core.String, core.dynamic>)
: null,
count:
json_.containsKey('count') ? json_['count'] as core.String : null,
scale: json_.containsKey('scale') ? json_['scale'] as core.int : null,
);