setEmailFieldRequired static method
Sets whether users are required to enter an email address or not when sending reports.
Defaults to YES.
isRequired
A boolean to indicate whether email
field is required or not.
actionTypes
An enum that indicates which action types will have the isEmailFieldRequired
Implementation
static Future<void> setEmailFieldRequired(
bool isRequired,
List<ActionType>? actionTypes,
) async {
return _host.setEmailFieldRequired(isRequired, actionTypes.mapToString());
}