create method
Creates a partition
name
: The partition namefromEncodable
: The function that converts between the Map representation of the object and the object itself.
Implementation
@override
Future<void> create(String name,
{dynamic Function(Map<String, dynamic>)? fromEncodable}) {
if (!_slots.containsKey(name)) {
_slots[name] = <String, E>{};
}
return Future.value();
}