$getRuntimeType method
Index of the class Type in the runtime dictionary. By definition can change from run to run, so it's customary to use Runtime.lookupType in implementations.
Implementation
@override
int $getRuntimeType(Runtime runtime) =>
runtime.lookupType(AsyncTypes.completer);