toJson method
Implementation
@override
Map<String, Object?> toJson() => super.toJson()
..addAll({
'numerator': numerator.toJson(),
'denominator': denominator.toJson(),
if (barSize != null) 'barSize': barSize.toString(),
if (continued) 'continued': continued,
});