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