Initial migration from dart sample_extension