encodeTo method
Convert self to a slice and append it to the destination.
Implementation
@override
void encodeTo(List<A> value, Output output) {
assertion(value.length == size, 'Invalid list length');
for (final element in value) {
codec.encodeTo(element, output);
}
}