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