Dart 24898

Closes #21236.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>