ContextRealtimeData.fromJson constructor Null safety

ContextRealtimeData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ContextRealtimeData.fromJson(Map<String, dynamic> json) {
  return ContextRealtimeData(
    currentTime: json['currentTime'] as num,
    renderCapacity: json['renderCapacity'] as num,
    callbackIntervalMean: json['callbackIntervalMean'] as num,
    callbackIntervalVariance: json['callbackIntervalVariance'] as num,
  );
}