match method

  1. @override
FutureOr<bool> match(
  1. DarwinSystem system
)
override

Validates the conditions for the given DarwinSystem.

Implementation

@override
FutureOr<bool> match(DarwinSystem system) {
  if (inverse) {
    return system.profile != profile;
  } else {
    return system.profile == profile;
  }
}