fix missing constructor in M4 of dart