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