TableDescriptor constructor

TableDescriptor({
  1. required TableKind element,
  2. required int initial,
  3. int? maximum,
})

Implementation

factory TableDescriptor(
        {required TableKind element, required int initial, int? maximum}) =>
    TableDescriptor._(
        element: element.value,
        initial: initial,
        maximum: maximum ?? undefined);