InkList.of constructor

InkList.of(
  1. InkList otherList
)

Implementation

InkList.of(InkList otherList) : _map = Map.of(otherList) {
  var otherOriginNames = otherList.originNames;
  if (otherOriginNames != null) {
    _originNames = List.of(otherOriginNames);
  }
  if (otherList._origins != null) {
    _origins = List<ListDefinition>.of(otherList._origins!);
  }
}