ResolvedSegmenterOptions constructor

ResolvedSegmenterOptions({
  1. String? locale,
  2. GranularityOptions? granularity,
})

Implementation

factory ResolvedSegmenterOptions({
  _i2.String? locale,
  _i3.GranularityOptions? granularity,
}) =>
    ResolvedSegmenterOptions._(
      locale: locale,
      granularity: granularity?.name ?? _i4.undefined,
    );