InkList.fromEntry constructor

InkList.fromEntry(
  1. MapEntry<InkListItem, int> singleElement
)

Implementation

InkList.fromEntry(MapEntry<InkListItem, int> singleElement) : _map = {} {
  this[singleElement.key] = singleElement.value;
}