currentState property
Get current state.
Implementation
@override
Future<IkeV2State> get currentState async {
final state = await methodChannel.invokeMethod<int>('getCurrentState');
assert(state != null, 'Received a null state from `getCurrentState` call.');
return IkeV2State.values[state!];
}