I use the memory card in a Sony camera, but according to this site https://www.sir-apfelot.de/dji-mavic-... ( underlined in the comments ) it shouldn't be a problem, even though the DJI website only lists up to 128GB.
Since the memory card achieves the required write speeds, it shouldn't be a problem.