PartitionOptions.fromJson constructor

PartitionOptions.fromJson(
  1. Map _json
)

Implementation

PartitionOptions.fromJson(core.Map _json) {
  if (_json.containsKey("maxPartitions")) {
    maxPartitions = _json["maxPartitions"];
  }
  if (_json.containsKey("partitionSizeBytes")) {
    partitionSizeBytes = _json["partitionSizeBytes"];
  }
}