Distribution_BucketOptions_Linear.fromJson constructor

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

Implementation

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