$getRuntimeType method

  1. @override
int $getRuntimeType(
  1. Runtime runtime
)
override

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(ConvertTypes.codec);