Update for Dart M3.
Fix for M3.