lastSignInTime property

DateTime? get lastSignInTime

When the user last signed in as dictated by the server clock.

This is only accurate up to a granularity of 2 minutes for consecutive sign-in attempts.

Implementation

DateTime? get lastSignInTime => _lastSignInTime == null
    ? null
    // Needed to support Flutter <3.19
    // ignore: unnecessary_non_null_assertion
    : DateTime.fromMillisecondsSinceEpoch(_lastSignInTime!, isUtc: true);