toJson method

  1. @override
Object toJson()

Implementation

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