Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. MidiInputMap
  4. remove method
remove
description

remove method

Stringremove(
  1. dynamickey
)
override

Removeskey and its associated value, if present, from the map.

Returns the value associated withkey before it was removed.Returnsnull ifkey was not in the map.

Note that some maps allownull as a value,so a returnednull value doesn't always mean that the key was absent.

final terrestrial = <int, String>{1: 'Mercury', 2: 'Venus', 3: 'Earth'};final removedValue = terrestrial.remove(2); // Venusprint(terrestrial); // {1: Mercury, 3: Earth}

Implementation

String remove(dynamic key) {  throw new UnsupportedError("Not supported");}
  1. Dart
  2. dart:html
  3. MidiInputMap
  4. remove method
MidiInputMap class

[8]ページ先頭

©2009-2025 Movatter.jp