toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'total_seconds'] = this.totalSeconds;
json[r'remaining_seconds'] = this.remainingSeconds;
json[r'started_at'] = this.startedAt.toUtc().toIso8601String();
json[r'expiration'] = this.expiration.toUtc().toIso8601String();
json[r'reason'] = this.reason;
return json;
}