writeEntry method

Future<void> writeEntry(
  1. String key,
  2. Object? value
)

Writes an entry to a map, this is equivalent to calling writeKey followed by write.

Implementation

Future<void> writeEntry(String key, Object? value) async {
  await writeKey(key);
  await write(value);
}