InMemorySharedPreferencesStore.withData constructor Null safety

InMemorySharedPreferencesStore.withData(
  1. Map<String, Object> data
)

Instantiates an in-memory preferences store containing a copy of data.

Implementation

InMemorySharedPreferencesStore.withData(Map<String, Object> data)
    : _data = Map<String, Object>.from(data);