set method

Future<void> set(
  1. SetDetails details
)

Applies a new content setting rule.

Implementation

Future<void> set(SetDetails details) async {
  await promiseToFuture<void>(_wrapped.set(details.toJS));
}