permissionResponse method

void permissionResponse(
  1. bool isGranted,
  2. PermissionType type
)

Implementation

void permissionResponse(bool isGranted, PermissionType type) {
  _channel.invokeMethod(methodPermissionResponse,
      json.encode(getPermissionResponsePayload(isGranted, type)));
}