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}) =>
super
.create(name, fromEncodable: fromEncodable)
.then((_) => _adapter.create(name));