Timestamp constructor

Timestamp({
  1. Int64? seconds,
  2. int? nanos,
})

Implementation

factory Timestamp({
  $fixnum.Int64? seconds,
  $core.int? nanos,
}) {
  final $result = create();
  if (seconds != null) {
    $result.seconds = seconds;
  }
  if (nanos != null) {
    $result.nanos = nanos;
  }
  return $result;
}