setExpiredDuration method Null safety

void setExpiredDuration(
  1. Duration duration
)

Set expired duration of cached font.

Default is 30 days Note: You should call this before initFont

Implementation

void setExpiredDuration(Duration duration) => _expiredDuration = duration;