Map<String, dynamic> toJson() { final json = super.toJson(); json.addAll({ 'stepSize': stepSize, 'starsColor': starsColor?.toHex(), }); return json; }