@override Object toJson() => { if (healthChecks.isNotDefault) 'healthChecks': [for (final i in healthChecks) i.toJson()], };