Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:core
  3. Map<K,V>
  4. Map.new factory constructor
Map.new
description

Map<K,V> constructor

Map<K,V>()

Creates an emptyLinkedHashMap.

This constructor is equivalent to the non-const map literal<K, V>{}.

ALinkedHashMap requires the keys to implement compatibleoperator== andhashCode.It iterates in key insertion order.

Implementation

// TODO: @Deprecated("Use literal <K, V>{} instead")external factory Map();
  1. Dart
  2. dart:core
  3. Map<K,V>
  4. Map.new factory constructor
Map class

[8]ページ先頭

©2009-2025 Movatter.jp