fromJson static method

BackendProcessingConfig? fromJson(
  1. dynamic jsonObject
)

Allows you to deserialize object.

Implementation

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

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

  return result;
}