core.Map<core.String, core.dynamic> toJson() { final email = this.email; final type = this.type; return {'email': ?email, 'type': ?type}; }