CoreUtilities class

Constructors

CoreUtilities.new()

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, AppMediaItem> matchedItems, required Map<String, Instrument> matchedInstruments, UsageReason profileReason = UsageReason.any, int profileDistanceKm = 0}) bool
getBandInstrumentMatches(Band band, Map<String, Instrument> profileInstruments) List<Instrument>
getBandMemberInstrumentMatches(List<BandMember> bandMembers, 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, AppMediaItem>
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
getProfileMainFeature(AppProfile profile) String
getTotalItemsQty(Map<String, Itemlist> itemlists) int
getTotalMediaItems(Map<String, Itemlist> itemlists) Map<String, AppMediaItem>
getTotalPresets(Map<String, Chamber> chambers) Map<String, ChamberPreset>
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>>
sortProfilesByLocation(Position currentPosition, List<AppProfile> profiles) Map<double, AppProfile>
sortProfilesByName(List<AppProfile> profiles) Map<String, AppProfile>