of<T> static method

CPDFContextMenuItem<T> of<T>(
  1. T key, {
  2. List<String>? subItems,
})

Implementation

static CPDFContextMenuItem<T> of<T>(T key, {List<String>? subItems}) {
  return CPDFContextMenuItem<T>(key, subItems: subItems);
}