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