getGanIndex method Null safety

int getGanIndex()

Implementation

int getGanIndex() => _ganIndex;