fetchTime property

DateTime? fetchTime

Returns the timestamp of the last successful fetch, or null if the instance either hasn't fetched or initialization is incomplete.

Implementation

DateTime? get fetchTime {
  if (jsObject.fetchTimeMillis < 0) {
    return null;
  } else {
    return DateTime.fromMillisecondsSinceEpoch(jsObject.fetchTimeMillis);
  }
}