UsageLog.fromJson constructor
UsageLog.fromJson(
- Map json_
Implementation
UsageLog.fromJson(core.Map json_)
: this(
enabledLogTypes: json_.containsKey('enabledLogTypes')
? (json_['enabledLogTypes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
uploadOnCellularAllowed: json_.containsKey('uploadOnCellularAllowed')
? (json_['uploadOnCellularAllowed'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);