EventUsageInfo.fromMap constructor

EventUsageInfo.fromMap(
  1. Map map
)

Construct class from the json map

Implementation

factory EventUsageInfo.fromMap(Map map) => EventUsageInfo(
      eventType: map['eventType'],
      timeStamp: map['timeStamp'],
      packageName: map['packageName'],
      className: map['className'],
      shortcutId: map['shortcutId'],
    );