EventInfo.fromMap constructor

EventInfo.fromMap(
  1. Map map
)

Construct class from the json map

Implementation

factory EventInfo.fromMap(Map map) => EventInfo(
      firstTimeStamp: map['firstTimeStamp'],
      lastTimeStamp: map['lastTimeStamp'],
      totalTime: map['totalTime'],
      lastEventTime: map['lastEventTime'],
      eventType: map['eventType'],
      count: map['count'],
    );