executeListDiff<E> function Null safety

ListDiffs<E> executeListDiff<E>(
  1. ListDiffContext<E> context
)

Implementation

ListDiffs<E> executeListDiff<E>(ListDiffContext<E> context) {
  final start = DateTime.now();
  var result = context.algorithm.execute<E>(context.arguments);

  _logResult(
    "list",
    context.debugName,
    context.arguments.original.length,
    context.arguments.replacement.length,
    result.length,
    start,
  );
  return result;
}