match method

bool match(
  1. String platform, [
  2. String? target
])

Implementation

bool match(String platform, [String? target]) {
  return this.platform == platform && name == target;
}