AggregatedProfileTime.fromJson constructor

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

Implementation

factory AggregatedProfileTime.fromJson(Map<String, dynamic> json) {
  return AggregatedProfileTime(
    period: (json['period'] as String?)?.toAggregationPeriod(),
    start: timeStampFromJson(json['start']),
  );
}