Unfortunately exclude_tags doesn't exist in root level. However, instead of this you can configured to skip test which contains the tag in your dart_test.yaml file, like this
tags: real_api: skip: true