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