terms method
Implementation
List<TermOfService> terms() {
return [
TermOfService(
id: 'general-term',
mandatory: true,
text: tr('term.of.services'),
linkUrl: tr('term.linkUrl'),
initialValue: true,
validationErrorMessage: tr('required'),
),
TermOfService(
id: 'age-verification',
mandatory: true,
text: tr('age.verification'),
initialValue: true,
validationErrorMessage: tr('required'),
)
];
}