endArray method

  1. @override
void endArray(
  1. String? key
)
override

Called when an array has no more elements.

If key is non-null, it's the key of the completed value in the current object. This is the same key as passed to the corresponding startObject call. The key is always null outside of an object.

Implementation

@override
void endArray(String? key) {
  sink.endArray();
}