url property
The remote URL for this legal document, loaded from the environment configuration.
Implementation
String get url {
switch (this) {
case LegalType.privacyPolicy:
return dotenv.get('privacy_policy_url');
case LegalType.termsAndConditions:
return dotenv.get('terms_and_conditions_url');
}
}