| Index: lib/src/utils.dart
|
| diff --git a/lib/src/utils.dart b/lib/src/utils.dart
|
| index 9511c2bd5941753d123c4a6c07725c41baa4837c..b561c596dbc8cfc1ea07e4cb75780440cea4ede0 100644
|
| --- a/lib/src/utils.dart
|
| +++ b/lib/src/utils.dart
|
| @@ -452,3 +452,7 @@ String errorCodeName(ErrorCode errorCode) {
|
| bool isInlineJS(Element e) => e is FunctionElement &&
|
| e.library.source.uri.toString() == 'dart:_foreign_helper' &&
|
| e.name == 'JS';
|
| +
|
| +bool isDartMathMinMax(Element e) => e is FunctionElement &&
|
| + e.library.source.uri.toString() == 'dart:math' &&
|
| + (e.name == 'min' || e.name == 'max');
|
|
|