isOwnedBy method

bool isOwnedBy(
  1. CameraOwner owner
)

Check if the camera is owned by the specified owner

Implementation

bool isOwnedBy(CameraOwner owner) {
  final ownershipManager = CameraOwnershipManager.getInstance();
  return ownershipManager.isOwner(position, owner);
}