toJson method

  1. @override
Map<String, dynamic> toJson ()
override

Serializes this message to a JSON map.

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
  'status': _healthStatusIndex.toSimpleName(status),
};