Distribution_BucketOptions constructor

Distribution_BucketOptions({
  1. Distribution_BucketOptions_Linear? linearBuckets,
  2. Distribution_BucketOptions_Exponential? exponentialBuckets,
  3. Distribution_BucketOptions_Explicit? explicitBuckets,
})

Implementation

factory Distribution_BucketOptions({
  Distribution_BucketOptions_Linear? linearBuckets,
  Distribution_BucketOptions_Exponential? exponentialBuckets,
  Distribution_BucketOptions_Explicit? explicitBuckets,
}) {
  final _result = create();
  if (linearBuckets != null) {
    _result.linearBuckets = linearBuckets;
  }
  if (exponentialBuckets != null) {
    _result.exponentialBuckets = exponentialBuckets;
  }
  if (explicitBuckets != null) {
    _result.explicitBuckets = explicitBuckets;
  }
  return _result;
}