Map<String, dynamic> toMap() { return <String, dynamic>{ 'endpointId': endpointId, 'region': ?region, 'tags': ?tags, }; }