UsageStats.fromMap constructor
UsageStats.fromMap(
- Map map
Implementation
UsageStats.fromMap(Map<dynamic, dynamic> map) {
applicationName = map['applicationName'];
packageName = map['packageName'];
firstTimeStamp = map['firstTimeStamp'];
lastTimeStamp = map['lastTimeStamp'];
lastTimeUsed = map['lastTimeUsed'];
totalTimeInForeground = map['totalTimeInForeground'];
describeContents = map['describeContents'];
lastTimeVisible = map['lastTimeVisible'];
totalTimeVisible = map['totalTimeVisible'];
lastTimeForegroundServiceUsed = map['lastTimeForegroundServiceUsed'];
totalTimeForegroundServiceUsed = map['totalTimeForegroundServiceUsed'];
}