Map<String, dynamic> toMap() { return <String, dynamic>{ 'attributes': ?attributes, 'namespaceName': namespaceName, 'serviceName': serviceName, }; }