match abstract method

bool match([
  1. Object? data
])

Returns true if the permission allows access to the specified resource. If the permission is granular, the data parameter may be used to specify a specific resource (e.g. a URL for a network permission).

Implementation

bool match([Object? data]);