create abstract method

Future<T> create(
  1. T item
)

Creates a new item in the local repository.

Throws an exception if the creation fails.

Implementation

Future<T> create(T item);