remove method

Returns a NSAppPresentationOptions with option removed.

Implementation

NSAppPresentationOptions remove(NSAppPresentationOption option) {
  final newSet = options.where((element) => element != option);
  return NSAppPresentationOptions.from(newSet);
}