JsonEquals typedef

JsonEquals = bool Function(Object? a, Object? b)

a function that compares two json-like maps for deep equality more performant alternative to DeepCollectionEquality which has O(n^2) time complexity (where n is the level of nesting) but also very slow on flat maps

Implementation

typedef JsonEquals = bool Function(Object? a, Object? b);