toString method

  1. @override
String toString()
override

A string with the seconds and the nanoseconds of this timestamp, Timestamp(seconds=1, nanoseconds=2), as in the JS and Android SDKs. It is meant for logs and messages; use seconds and nanoseconds, or toDate, to read the value.

Implementation

@override
String toString() => 'Timestamp(seconds=$seconds, nanoseconds=$nanoseconds)';