toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.limit != null) {
json[r'limit'] = this.limit;
} else {
json[r'limit'] = null;
}
if (this.remaining != null) {
json[r'remaining'] = this.remaining;
} else {
json[r'remaining'] = null;
}
if (this.resets != null) {
json[r'resets'] = this.resets;
} else {
json[r'resets'] = null;
}
if (this.span != null) {
json[r'span'] = this.span;
} else {
json[r'span'] = null;
}
if (this.used != null) {
json[r'used'] = this.used;
} else {
json[r'used'] = null;
}
return json;
}