Distribution_BucketOptions_Exponential.fromJson constructor

Distribution_BucketOptions_Exponential.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Distribution_BucketOptions_Exponential.fromJson(
  Map<String, dynamic> json,
) {
  return Distribution_BucketOptions_Exponential(
    numFiniteBuckets: json['numFiniteBuckets'] ?? 0,
    growthFactor: decodeDouble(json['growthFactor']) ?? 0,
    scale: decodeDouble(json['scale']) ?? 0,
  );
}