Constructors
-
PulseUserArtist.new({@HiveField(0) @JsonKey(includeIfNull: false, name: '_id') String? id, @HiveField(1) String? firstName, @HiveField(2) String? lastName, @HiveField(3) String? userName, @HiveField(4) PulsePhone? phone, @HiveField(6) @JsonKey(includeIfNull: false) String? bio, @HiveField(7) @JsonKey(includeIfNull: false) String? profilePic, @HiveField(8) @JsonKey(includeIfNull: false) String? token, @HiveField(9) @JsonKey(includeIfNull: false) String? instagramUrl, @HiveField(10) @JsonKey(includeIfNull: false) String? snapchatUrl, @HiveField(11) @JsonKey(includeIfNull: false) String? linkedInUrl, @HiveField(12) @JsonKey(includeIfNull: false) String? facebookUrl, @HiveField(13) PulseUserRole role, @HiveField(14) @JsonKey(name: 'genre') List<String>? genres, @HiveField(15) @JsonKey(includeIfNull: false) String? agentId, @HiveField(16) @JsonKey() bool? hasAgent})
-
const
factory
-
PulseUserArtist.fromJson(Map<String, dynamic> json)
-
factory
Methods
-
map<TResult extends Object?>({required TResult venue(PulseUserVenue value), required TResult artist(PulseUserArtist value), required TResult agency(PulseUserAgency value), required TResult agent(PulseUserAgent value), required TResult collective(PulseUserCollective value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? venue(PulseUserVenue value)?, TResult? artist(PulseUserArtist value)?, TResult? agency(PulseUserAgency value)?, TResult? agent(PulseUserAgent value)?, TResult? collective(PulseUserCollective value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult venue(PulseUserVenue value)?, TResult artist(PulseUserArtist value)?, TResult agency(PulseUserAgency value)?, TResult agent(PulseUserAgent value)?, TResult collective(PulseUserCollective value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult venue(String? id, String? userName, String? city, String? businessPhone, PulsePhone? phone, PulseAddress? address, List<PulseTag> tags, PulseUserRole role, List<VenueAmenity>? amenities, List<VenueTime>? time, String? bio, List<String>? pictures, String? profilePic, String? token)?, TResult artist(String? id, String? firstName, String? lastName, String? userName, PulsePhone? phone, String? bio, String? profilePic, String? token, String? instagramUrl, String? snapchatUrl, String? linkedInUrl, String? facebookUrl, PulseUserRole role, List<String>? genres, String? agentId, bool? hasAgent)?, TResult agency(String? id, String? firstName, String? lastName, String? userName, PulsePhone? phone, String? businessPhone, String? email, String? bio, String? profilePic, List<PulseTag> tags, String? token, PulseUserRole role, String? instagramUrl, String? snapchatUrl, String? linkedInUrl, String? facebookUrl, bool? isVerified)?, TResult agent(String? id, String? firstName, String? lastName, PulsePhone? phone, String? email, Map<String, String?>? agency, List<PulseUserArtist>? artists, String? token, PulseUserRole role, bool? isVerified)?, TResult collective(String? id, String? firstName, String? lastName, String? userName, PulsePhone? phone, String? businessPhone, String? email, String? bio, String? profilePic, List<PulseTag> tags, String? token, PulseUserRole role, String? instagramUrl, String? snapchatUrl, String? linkedInUrl, String? facebookUrl, bool? isVerified)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult venue(String? id, String? userName, String? city, String? businessPhone, PulsePhone? phone, PulseAddress? address, List<PulseTag> tags, PulseUserRole role, List<VenueAmenity>? amenities, List<VenueTime>? time, String? bio, List<String>? pictures, String? profilePic, String? token), required TResult artist(String? id, String? firstName, String? lastName, String? userName, PulsePhone? phone, String? bio, String? profilePic, String? token, String? instagramUrl, String? snapchatUrl, String? linkedInUrl, String? facebookUrl, PulseUserRole role, List<String>? genres, String? agentId, bool? hasAgent), required TResult agency(String? id, String? firstName, String? lastName, String? userName, PulsePhone? phone, String? businessPhone, String? email, String? bio, String? profilePic, List<PulseTag> tags, String? token, PulseUserRole role, String? instagramUrl, String? snapchatUrl, String? linkedInUrl, String? facebookUrl, bool? isVerified), required TResult agent(String? id, String? firstName, String? lastName, PulsePhone? phone, String? email, Map<String, String?>? agency, List<PulseUserArtist>? artists, String? token, PulseUserRole role, bool? isVerified), required TResult collective(String? id, String? firstName, String? lastName, String? userName, PulsePhone? phone, String? businessPhone, String? email, String? bio, String? profilePic, List<PulseTag> tags, String? token, PulseUserRole role, String? instagramUrl, String? snapchatUrl, String? linkedInUrl, String? facebookUrl, bool? isVerified)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? venue(String? id, String? userName, String? city, String? businessPhone, PulsePhone? phone, PulseAddress? address, List<PulseTag> tags, PulseUserRole role, List<VenueAmenity>? amenities, List<VenueTime>? time, String? bio, List<String>? pictures, String? profilePic, String? token)?, TResult? artist(String? id, String? firstName, String? lastName, String? userName, PulsePhone? phone, String? bio, String? profilePic, String? token, String? instagramUrl, String? snapchatUrl, String? linkedInUrl, String? facebookUrl, PulseUserRole role, List<String>? genres, String? agentId, bool? hasAgent)?, TResult? agency(String? id, String? firstName, String? lastName, String? userName, PulsePhone? phone, String? businessPhone, String? email, String? bio, String? profilePic, List<PulseTag> tags, String? token, PulseUserRole role, String? instagramUrl, String? snapchatUrl, String? linkedInUrl, String? facebookUrl, bool? isVerified)?, TResult? agent(String? id, String? firstName, String? lastName, PulsePhone? phone, String? email, Map<String, String?>? agency, List<PulseUserArtist>? artists, String? token, PulseUserRole role, bool? isVerified)?, TResult? collective(String? id, String? firstName, String? lastName, String? userName, PulsePhone? phone, String? businessPhone, String? email, String? bio, String? profilePic, List<PulseTag> tags, String? token, PulseUserRole role, String? instagramUrl, String? snapchatUrl, String? linkedInUrl, String? facebookUrl, bool? isVerified)?})
→ TResult?
-
inherited