toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (limit != null) {
json[r'Limit'] = limit;
}
if (used != null) {
json[r'Used'] = used;
}
if (remaining != null) {
json[r'Remaining'] = remaining;
}
if (unit != null) {
json[r'Unit'] = unit;
}
if (limitExceeded != null) {
json[r'LimitExceeded'] = limitExceeded;
}
return json;
}