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