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 (fromEncodable != null) {
_fromEncodables[name] = fromEncodable;
}
return Future.value();
}