Map<String, dynamic> toMap() { return AttributesModelMapper.ensureInitialized() .encodeMap<AttributesModel>(this as AttributesModel); }