InkListItem class

The underlying type for a list item in ink. It stores the original list definition name as well as the item name, but without the value of the item. When the value is stored, it's stored in a KeyValuePair of InkListItem and int.
Annotations
  • @freezed

Constructors

InkListItem({String? originName, String? itemName})
Create an item with the given original list definition name, and the name of this item.
factory
InkListItem.fullName(String fullName)
Create an item from a dot-separted string of the form "listDefinitionName.listItemName".
factory

Properties

copyWith → $InkListItemCopyWith<InkListItem>
no setterinherited
fullName String
Get the full dot-separated name of the item, in the form "listDefinitionName.itemName".
no setter
hashCode int
Get the hashcode for an item.
no setteroverride
isNull bool
no setter
itemName String?
no setterinherited
originName String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Get the full dot-separated name of the item, in the form "listDefinitionName.itemName". Calls fullName internally.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

Null InkListItem
no setter