RPConsentSection.withParams constructor
Returns a populated object with the given type
.
It is enough to provide only the type
of the section, the title is automatically filled out.
summary is set to null
initially.
Implementation
RPConsentSection.withParams(RPConsentSectionType type) {
this._type = type;
this._summary = null;
this._title = _localizedTitleForConsentSectionType(type);
}