- Updated cpp code to match new internal Dart API method signatures