of<T> static method
Creates a menu item with only a key and optional sub-items.
Implementation
static CPDFContextMenuItem<T> of<T>(T key, {List<String>? subItems}) {
return CPDFContextMenuItem<T>(key, subItems: subItems);
}
Creates a menu item with only a key and optional sub-items.
static CPDFContextMenuItem<T> of<T>(T key, {List<String>? subItems}) {
return CPDFContextMenuItem<T>(key, subItems: subItems);
}