factory UnitInterval.fromJson(Map<String, dynamic> json) { return UnitInterval( numerator: BigintUtils.parse(json["numerator"]), denominator: BigintUtils.parse(json["denominator"])); }