clearMetadata method

void clearMetadata(
  1. String section, [
  2. String? key
])

If key is not null: removes data with the specified key from the specified section. Otherwise remove all the data from the specified section.

Implementation

void clearMetadata(String section, [String? key]) =>
    _metadata.clearMetadata(section, key);