S2GroupSort.byNameInDesc constructor

S2GroupSort.byNameInDesc()

Function to sort the group keys alphabetically by name in descending order

Implementation

factory S2GroupSort.byNameInDesc() => S2GroupSort((S2Group a, S2Group b) {
      return b.name!.toLowerCase().compareTo(a.name!.toLowerCase());
    });