Map<String, String> get attributesAsString => _attributes?.map( ((key, value) => MapEntry<String, String>(key, value.value ?? ''))) ?? <String, String>{};