Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix debug json method #490

Merged
merged 15 commits into from
Jan 30, 2022
Prev Previous commit
Next Next commit
📝 toDebugJson
  • Loading branch information
bannzai committed Jan 30, 2022
commit fb35c1522eb9ebb6fd7759f88ff6a8deef7570ac
6 changes: 3 additions & 3 deletions lib/inquiry/inquiry.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ Future<String> debugInfo(String separator) async {
"buildNumber: $buildNumber",
"env: ${Environment.isProduction ? "production" : "development"}",
"user id: $userID",
"latestMenstruation: ${menstruation?.toJson()}",
"latestMenstruation: ${menstruation?.toDebugJSON()}",
"pillSheetGroupID: ${pillSheetGroup?.id}",
"activedPillSheet: ${pillSheetGroup?.activedPillSheet?.toJson()}",
"settingState.entity: ${setting?.toJson()}",
"activedPillSheet: ${pillSheetGroup?.activedPillSheet?.toDebugJSON()}",
"settingState.entity: ${setting?.toDebugJSON()}",
];
return contents.join(separator);
}