toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  var elementInteractionsOptions = <String, dynamic>{};
  if (cssSelectorAllowlist != null) {
    elementInteractionsOptions['cssSelectorAllowlist'] = cssSelectorAllowlist;
  }
  if (actionClickAllowlist != null) {
    elementInteractionsOptions['actionClickAllowlist'] = actionClickAllowlist;
  }
  if (dataAttributePrefix != null) {
    elementInteractionsOptions['dataAttributePrefix'] = dataAttributePrefix;
  }
  if (pageUrlAllowlist != null) {
    elementInteractionsOptions['pageUrlAllowlist'] = pageUrlAllowlist;
  }
  return elementInteractionsOptions;
}