UsageReportEntity.fromJson constructor

UsageReportEntity.fromJson(
  1. Map _json
)

Implementation

UsageReportEntity.fromJson(core.Map _json) {
  if (_json.containsKey("customerId")) {
    customerId = _json["customerId"];
  }
  if (_json.containsKey("entityId")) {
    entityId = _json["entityId"];
  }
  if (_json.containsKey("profileId")) {
    profileId = _json["profileId"];
  }
  if (_json.containsKey("type")) {
    type = _json["type"];
  }
  if (_json.containsKey("userEmail")) {
    userEmail = _json["userEmail"];
  }
}