AppRequest class
Constructors
AppRequest ({String id = "" , String from = "" , String to = "" , int createdTime = 0 , int expiresAt = 0 , EventOffer ? newOffer , String message = "" , bool unread = true , String eventId = "" , String collectiveId = "" , String positionRequestedId = "" , Instrument ? instrument , double percentageCoverage = 0 , int distanceKm = 0 , RequestDecision requestDecision = RequestDecision.pending , GameRequestType ? gameRequestType })
AppRequest.dawInvitation ({required String from , required String to , required String projectId , required String projectName , String role = 'musician' , String ? message })
Create a DAW project collaboration invitation.
factory
AppRequest.fromJSON (dynamic data )
AppRequest.gameInvitation ({required String from , required String to , required GameRequestType gameType , String ? message , int expirationMinutes = defaultGameExpirationMinutes })
Create a game invitation request
factory
AppRequest.releaseApproval ({required String from , required String to , required String releaseItemId , required String releaseName , String ? authorName , String ? message })
Create a release approval request (for books, songs, etc.)
from - profileId of the author submitting the release
to - app identifier (e.g., "EMXI", "Gigmeout") for admin review
releaseItemId - ID of the AppReleaseItem being submitted
releaseName - Name of the release for the message
factory
Methods
copyWith ({String ? id , String ? from , String ? to , String ? collectiveId , String ? eventId , String ? positionRequestedId , int ? createdTime , int ? expiresAt , EventOffer ? newOffer , String ? message , bool ? unread , Instrument ? instrument , double ? percentageCoverage , int ? distanceKm , RequestDecision ? requestDecision , GameRequestType ? gameRequestType })
→ AppRequest
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON ()
→ Map <String , dynamic >
toString ()
→ String
A string representation of this object.
override