addItem method

void addItem(
  1. dynamic item
)

Implementation

void addItem(dynamic item) {
  if (item is String) {
    _addItemWithName(item);
  } else if (item is InkListItem) {
    _addItem(item);
  }
  throw Exception('not supported type');
}