create abstract method
Creates a partition
name
: The partition namefromEncodable
: The function that converts between the Map representation of the object and the object itself.
Implementation
Future<void> create(String name,
{dynamic Function(Map<String, dynamic>)? fromEncodable});