Apply suggestions from code review
Apply suggestions from code review

Co-Authored-By: joebingham-wk <1817cbddfa89e58726616ba39c5524e733bfe732@users.noreply.github.com>
cleandart/react-dart,cleandart/react-dart,cleandart/react-dart,cleandart/react-dart