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