encodeObjects method

void encodeObjects(
  1. String key,
  2. List<Coding?>? value
)

Encodes list of Coding objects into this object for key.

This invokes Coding.encode on each object in value and adds the list of objects to this archive for the key key.

Implementation

void encodeObjects(String key, List<Coding?>? value) {
  if (value == null) {
    return;
  }

  _map[key] =
      new ListArchive.from(value.map((v) => _encodedObject(v)).toList());
}