@"DaveTheCoder"#p154424 Then ask on Dart community channels.
It's an educated guess, not a blind guess. File io operations are not atomic by default on most operating systems. If there are no options for that in create call arguments, it's reasonable to assume it'll do the os default, which is not atomic.
Wut sez Gemini? Its answers no good no more?