fromJson static method

  1. @visibleForTesting
InitConfig? fromJson(
  1. dynamic jsonObject
)

Implementation

@visibleForTesting
static InitConfig? fromJson(jsonObject) {
  if (jsonObject == null) return null;

  return InitConfig(
    _dataFromBase64(jsonObject["license"])!,
    licenseUpdate: jsonObject["licenseUpdate"],
  );
}