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