TimeEvents.fromJson constructor

TimeEvents.fromJson(
  1. Map json_
)

Implementation

TimeEvents.fromJson(core.Map json_)
  : this(
      droppedAnnotationsCount: json_['droppedAnnotationsCount'] as core.int?,
      droppedMessageEventsCount:
          json_['droppedMessageEventsCount'] as core.int?,
      timeEvent: (json_['timeEvent'] as core.List?)
          ?.map(
            (value) => TimeEvent.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
    );