PartitionOptions.fromJson constructor

PartitionOptions.fromJson(
  1. Map json_
)

Implementation

PartitionOptions.fromJson(core.Map json_)
    : this(
        maxPartitions: json_.containsKey('maxPartitions')
            ? json_['maxPartitions'] as core.String
            : null,
        partitionSizeBytes: json_.containsKey('partitionSizeBytes')
            ? json_['partitionSizeBytes'] as core.String
            : null,
      );