Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorbel1 committed Sep 19, 2023
1 parent 9ce3779 commit c7f32e6
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions lib/src/values/logic_value.dart
Original file line number Diff line number Diff line change
Expand Up @@ -893,16 +893,20 @@ abstract class LogicValue implements Comparable<LogicValue> {
LogicValue operator *(dynamic other) => _doMath(other, (a, b) => a * b);

/// Division operation.
///
// ignore: avoid_dynamic_calls
LogicValue operator /(dynamic other) =>
_doMath(other, (a, b) => a ~/ b, isDivision: true);
LogicValue operator /(dynamic other) => _doMath(
other,
// ignore: avoid_dynamic_calls
(a, b) => a ~/ b,
isDivision: true,
);

/// Modulo operation.
///
// ignore: avoid_dynamic_calls
LogicValue operator %(dynamic other) =>
_doMath(other, (a, b) => a % b, isDivision: true);
LogicValue operator %(dynamic other) => _doMath(
other,
// ignore: avoid_dynamic_calls
(a, b) => a % b,
isDivision: true,
);

/// Ceil of log base 2 operation.
///
Expand Down

0 comments on commit c7f32e6

Please sign in to comment.