menu
  1. Dart
  2. dart:html
  3. MidiOutputMap
  4. clear method
clear

clear method

void clear()
override

Removes all entries from the map.

After this, the map is empty.

final planets = <int, String>{1: 'Mercury', 2: 'Venus', 3: 'Earth'};
planets.clear(); // {}

Implementation

void clear() {
 throw new UnsupportedError("Not supported");
}
MidiOutputMap class

AltStyle によって変換されたページ (->オリジナル) /