create abstract method

Future<void> create(
  1. String name, {
  2. dynamic fromEncodable(
    1. Map<String, dynamic>
    )?,
})

Creates a partition

  • name: The partition name
  • fromEncodable: 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});