Timestamp.fromJson constructor

Timestamp.fromJson(
  1. Map _json
)

Implementation

Timestamp.fromJson(core.Map _json)
    : this(
        nanos: _json.containsKey('nanos') ? _json['nanos'] as core.int : null,
        seconds: _json.containsKey('seconds')
            ? _json['seconds'] as core.String
            : null,
      );