transaction abstract method Null safety

Future<void> transaction(
  1. Future<void> action(
      ),
    1. {List<String>? boxNames,
    2. bool readOnly = false}
    )

    Implementation

    Future<void> transaction(
      Future<void> Function() action, {
      List<String>? boxNames,
      bool readOnly = false,
    });