dbPubkeyMappings static method

List<DbPubkeyMapping> dbPubkeyMappings(
  1. List<PubkeyMapping> mappings
)

Implementation

static List<DbPubkeyMapping> dbPubkeyMappings(List<PubkeyMapping> mappings) {
  return mappings
      .map(
        (e) => DbPubkeyMapping(pubKey: e.pubKey, marker: e.rwMarker.name),
      )
      .toList();
}