toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (numeratorRange != null) {
json[r'numeratorRange'] = numeratorRange;
}
if (denominator != null) {
json[r'denominator'] = denominator;
}
return json;
}