simState property
Implementation
Future<SimState> get simState async {
final int? state =
await _foregroundChannel.invokeMethod<int>(GET_SIM_STATE);
if (state != null) {
return SimState.values[state];
} else {
return SimState.UNKNOWN;
}
}