fromJson method

Health fromJson (Map<String, dynamic> json)

Deserializes the result from JSON.

Implementation

static Health fromJson(Map<String, dynamic> json) {
  return Health(_healthStatusIndex.lookupBySimpleName(json['status']));
}