createOrModifyCodings method

  1. @override
Future<List<Coding>?> createOrModifyCodings(
  1. List<Coding> codings
)
override

Create or update a batch of Coding

When modifying codings, you must ensure that the rev obtained when getting or creating the coding is present as the rev is used to guarantee that the coding has not been modified by a third party.

Parameters:

Implementation

@override
Future<List<Coding>?> createOrModifyCodings(List<Coding> codings) async => (await Future.wait(codings.map((coding) async =>
    this.createOrModifyCoding(coding)
))).whereType<Coding>().toList();