fromJson static method

ReprocParams? fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

static ReprocParams? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = ReprocParams(jsonObject["serviceUrl"]);

  result._failIfNoService = jsonObject["failIfNoService"];
  if (jsonObject["httpHeaders"] != null)
    result._httpHeaders = Map<String, String>.from(jsonObject["httpHeaders"]);

  return result;
}