Map<String, dynamic> toMap() { return <String, dynamic>{ 'health': ?health, 'message': ?message, 'resourceID': resourceID, }; }