UsageInfo.fromMap constructor
UsageInfo.fromMap(
- Map map
Construct class from the json map
Implementation
factory UsageInfo.fromMap(Map map) => UsageInfo(
firstTimeStamp: map['firstTimeStamp'],
lastTimeStamp: map['lastTimeStamp'],
lastTimeUsed: map['lastTimeUsed'],
totalTimeInForeground: map['totalTimeInForeground'],
packageName: map['packageName'],
);