Funny, I copied this pattern from googleapis_generate.dart, then I fixed it there. Forgot about this file. Good eye! Fixed.