SimpleAppState constructor
data: The initial value of the managed state. This can usually be null. This value is assigned by the factory constructor when the data is restored. This value is not subject to automatic copying.
Implementation
SimpleAppState({Map<String, dynamic>? data}) {
if (data != null && data.isNotEmpty) {
_data.addAll(data);
}
}