readEnum method Null safety

int readEnum()

Implementation

int readEnum() => readInt32();