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 = new ReprocParams(jsonObject["serviceUrl"]);
  result.failIfNoService = jsonObject["failIfNoService"];
  result.httpHeaders = Map<String, String>.from(jsonObject["httpHeaders"]);

  return result;
}