Health fromJson(Map<String, dynamic> json)

Deserializes the result from JSON.

Source

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