CoreUtilities class

Constructors

CoreUtilities()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

isAvailableMediaUrl(String mediaUrl) → Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
verifyPostMediaUrls(Post post) → Future<Post>

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

createCompositeInboxId(List<String> profileIds) → String
exitApp() → void
filterItemlists(List<Itemlist> lists, ItemlistType type) → List<Itemlist>
fulfillmentMatchedRequirements({required Event event, required Map<String, AppMediaItem> requiredItems, required Map<String, AppItemState> matchedItems, required Map<String, Instrument> matchedInstruments, UsageReason profileReason = UsageReason.any, int profileDistanceKm = 0}) → bool
getCollectiveInstrumentMatches(Collective collective, Map<String, Instrument> profileInstruments) → List<Instrument>
getCollectiveMemberInstrumentMatches(List<CollectiveMember> collectiveMembers, Map<String, Instrument> profileInstruments) → Map<String, Instrument>
getCurrencySymbol(AppCurrency currency) → String
getInstrumentMatches(Event event, Map<String, Instrument> profileInstruments) → Map<String, Instrument>
getItemMatches(Map<String, AppMediaItem> totalItems, List<String> profileItems) → Map<String, AppItemState>
getItemState(int itemState) → AppItemState
getMainFacility(Map<String, Facility> facilities) → String
getMainGenre(Map<String, Genre> genres) → String
getMainInstrument(Map<String, Instrument> instruments) → String
getMainPlace(Map<String, Place> places) → String
getMediaItemType(AppReleaseItem releaseItem) → MediaItemType
getProfileMainFeature(AppProfile profile) → String
getTotalExternalItems(Map<String, Itemlist> itemlists) → Map<String, ExternalItem>
getTotalItemsQty(Map<String, Itemlist> itemlists) → int
getTotalMediaItems(Map<String, Itemlist> itemlists) → Map<String, AppMediaItem>
getTotalPresets(Map<String, NeomChamber> chambers) → Map<String, NeomChamberPreset>
getTotalReleaseItems(Map<String, Itemlist> itemlists) → Map<String, AppReleaseItem>
isInternal(String url) → bool
isWithinFirstMonth(int createdTime) → bool
JSONtoItemIds(dynamic itemsIdsSnapshot) → List<String>
JSONtoItemlistItems(dynamic itemsIdsSnapshot) → List<AppMediaItem>
JSONtoPosition(dynamic positionSnapshot) → Position
loadGenres() → Future<List<Genre>>
loadReleaseGenres() → Future<List<Genre>>
loadReleaseSubgenres() → Future<List<Genre>>
sortProfilesByLocation(Position currentPosition, List<AppProfile> profiles) → Map<double, AppProfile>
sortProfilesByName(List<AppProfile> profiles) → Map<String, AppProfile>