This was deprecated as a part of https://github.com/flutter/engine/commit/e97ed36e580c9b4c4a3d768cfe1a520f7bf8161d