modified for DART SDK 20272