convertToSheetActions method

List<SheetAction<T>> convertToSheetActions()

Implementation

List<SheetAction<T>> convertToSheetActions() =>
    where((a) => a.key != OkCancelResult.cancel)
        .map(
          (a) => SheetAction(
            key: a.key,
            label: a.label,
            isDefaultAction: a.isDefaultAction,
            isDestructiveAction: a.isDestructiveAction,
            textStyle: a.textStyle,
          ),
        )
        .toList();