core.Map<core.String, core.dynamic> toJson() => { if (lastUpdated != null) 'lastUpdated': lastUpdated!, if (listener != null) 'listener': listener!, };