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