GiphyUser class

A class representing a user on Giphy.

Constructors

GiphyUser({String? id, String? avatarUrl, String? avatar, String? bannerUrl, String? bannerImage, String? profileUrl, required String username, String? displayName, String? email, String? twitter, bool isPublic = false, String? attributionDisplayName, String? name, String? description, String? aboutBio, String? facebookUrl, String? twitterUrl, String? instagramUrl, String? tumblrUrl, String? tiktokUrl, String? youtubeUrl, bool isSuppressChrome = false, String? websiteUrl, String? websiteDisplayUrl, bool verified = false, bool isStaff = false, String? userType})
Constructor for creating a GiphyUser instance.
const
GiphyUser.fromJson(Map<Object?, Object?> json)
Creates a GiphyUser instance from a JSON map.
factory

Properties

aboutBio → String?
A short biography of the user.
final
attributionDisplayName → String?
Attribution display name
final
avatar → String?
An alternative avatar property.
final
avatarUrl → String?
The URL of the user's avatar.
final
bannerImage → String?
An alternative banner image property.
final
bannerUrl → String?
The URL of the user's banner.
final
description → String?
A textual description of the user.
final
displayName → String?
The display name of the user.
final
email → String?
The email address of the user.
final
facebookUrl → String?
The Facebook profile URL of the user.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
The unique identifier of the user.
final
instagramUrl → String?
The Instagram profile URL of the user.
final
isPublic → bool
Whether the user's profile is public.
final
isStaff → bool
Whether the user is a staff member.
final
isSuppressChrome → bool
Supress chrome
final
name → String?
Name
final
profileUrl → String?
The URL of the user's profile.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tiktokUrl → String?
The TikTok profile URL of the user.
final
tumblrUrl → String?
The Tumblr profile URL of the user.
final
twitter → String?
The Twitter handle of the user.
final
twitterUrl → String?
The Twitter profile URL of the user.
final
username → String
The username of the user. This is required.
final
userType → String?
The type of user.
final
verified → bool
Whether the user is verified.
final
websiteDisplayUrl → String?
The display URL for the user's website.
final
websiteUrl → String?
The user's website URL.
final
youtubeUrl → String?
The YouTube channel URL of the user.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts the GiphyUser instance to a JSON map.
toString() → String
A string representation of this object.
inherited

Operators

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