encodeType method

  1. @override
Uint8List encodeType(
  1. TypeTable? typeTable
)
override

Implement I in the IDL spec. Encode this type for the type table.

Implementation

@override
encodeType(TypeTable? typeTable) {
  return typeTable!.indexOf(name);
}