Distribution_BucketOptions_Exponential.fromJson constructor
Distribution_BucketOptions_Exponential.fromJson(
- Object? j
Implementation
factory Distribution_BucketOptions_Exponential.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return Distribution_BucketOptions_Exponential(
numFiniteBuckets: switch (json['numFiniteBuckets']) {
null => 0,
Object $1 => decodeInt($1),
},
growthFactor: switch (json['growthFactor']) {
null => 0,
Object $1 => decodeDouble($1),
},
scale: switch (json['scale']) {
null => 0,
Object $1 => decodeDouble($1),
},
);
}