setLocaleInfo function

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

add custom configuration.

Implementation

void setLocaleInfo(String locale, TimelineInfo timelineInfo) {
  ArgumentError.checkNotNull(locale, '[locale] must not be null');
  ArgumentError.checkNotNull(timelineInfo, '[timelineInfo] must not be null');
  _timelineInfoMap[locale] = timelineInfo;
}