getWriteLength method

  1. @override
int getWriteLength()
override

Gets the length of the write data when WriteTo will be called.

Implementation

@override
int getWriteLength() => 2;