getState function Null safety

String? getState(
  1. String name
)

Gets the value of a state set using saveState

Implementation

String? getState(String name) => Platform.environment['STATE_$name'];