Clock.fromJson constructor
Implementation
factory Clock.fromJson(Map<String, dynamic> json) => Clock(
contents: json["contents"] == null ? null : json["contents"],
biasNanos:
json["biasNanos"] == null ? null : json["biasNanos"].toDouble(),
biasUncertaintyNanos: json["biasUncertaintyNanos"] == null
? null
: json["biasUncertaintyNanos"].toDouble(),
driftNanosPerSecond: json["driftNanosPerSecond"] == null
? null
: json["driftNanosPerSecond"].toDouble(),
driftUncertaintyNanosPerSecond:
json["driftUncertaintyNanosPerSecond"] == null
? null
: json["driftUncertaintyNanosPerSecond"].toDouble(),
fullBiasNanos:
json["fullBiasNanos"] == null ? null : json["fullBiasNanos"],
hardwareClockDiscontinuityCount:
json["hardwareClockDiscontinuityCount"] == null
? null
: json["hardwareClockDiscontinuityCount"],
leapSecond: json["leapSecond"] == null ? null : json["leapSecond"],
timeNanos: json["timeNanos"] == null ? null : json["timeNanos"],
timeUncertaintyNanos: json["timeUncertaintyNanos"] == null
? null
: json["timeUncertaintyNanos"].toDouble(),
);