init method

  1. @override
Future<void> init(
  1. SortOptions options
)
override

Initializes the delegate with platform-specific options.

Implementation

@override
Future<void> init(SortOptions options) async {
  final android = options.android;
  _sort = android?.sort ?? AndroidSort();
  _defaultLocale = android?.locale;
  _defaultDirection = android?.direction;
  _defaultStrength = android?.strength;
  _defaultDecomposition = android?.decomposition;
  _defaultNumeric = android?.numeric;
}