Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:core
  3. Map<K,V>
  4. clear abstract method
clear
description

clear abstract method

voidclear()

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();
  1. Dart
  2. dart:core
  3. Map<K,V>
  4. clear abstract method
Map class

[8]ページ先頭

©2009-2025 Movatter.jp