it's not Flash memory it's DRAM.
Flash memory is, by definition, never volatile.
DRAM stores each bit in a separate capacitor, and it needs to be constantly "charged" (DRAM refresh) to keep the data intact. Flash Memory uses transistors.
Flash memory only uses power when data is read from/written to it, and keeps it's data when power is no longer applied.
More specifically, Flash Memory is really a type EEPROM, or Electrically Erasable Programmable Read-Only Memory; however, unlike say, BIOS chips, Flash Memory devices generally use a much larger block size and have much faster erase cycles, which was the main drawback of using EEPROM type memory for transient data storage to begin with.