withCreateRecord method

IsarCollectionWithCreateRecord<R> withCreateRecord(
  1. R createRecord()
)

Implementation

IsarCollectionWithCreateRecord<R> withCreateRecord(
  R Function() createRecord,
) =>
    IsarCollectionWithCreateRecord(
      collection: this,
      createRecord: createRecord,
    );