setLocaleInfo function

void setLocaleInfo(
  1. String locale,
  2. TimelineInfo timelineInfo
)

add custom configuration.

Implementation

void setLocaleInfo(String locale, TimelineInfo timelineInfo) {
  // assert(locale != null, '[locale] must not be null');
  // assert(timelineInfo != null, '[timelineInfo] must not be null');
  _timelineInfoMap[locale] = timelineInfo;
}