RefAppState 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.
Implementation
RefAppState({Map<String, dynamic>? data}) {
if (data != null && data.isNotEmpty) {
_data.addAll(data);
}
}