fromJson static method

LivenessNotification? fromJson(
  1. dynamic jsonObject
)

Implementation

static LivenessNotification? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = new LivenessNotification();

  result.status = jsonObject["status"];
  result.response = LivenessResponse.fromJson(jsonObject["response"]);

  return result;
}