getState method
Implementation
@override
Future<ImpulsePlayerState> getState(int id) async {
var raw = await methodChannel.invokeMethod<String>(ImpulsePlayerPluginConstants.MethodGetState, {
ImpulsePlayerPluginConstants.ParameterId: id,
}) ?? "";
return ImpulsePlayerState.fromValue(raw);
}