setLocalContent property

void Function(String, DateTime?)? setLocalContent
getter/setter pair

A callback, trigger when content is downloaded from remote

  • String : content of the download
  • DateTime? : remote last save time. Can be use to set local save time when applying content locally.

Implementation

void Function(String, DateTime?)? setLocalContent;