Icon class

This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.

Constructors

Icon({required String path, required int width, required int height, required bool isDefault})
Icon.fromJson(Map<String, Object?> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
final
isDefault bool
final
path String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
final

Methods

copyWith({String? path, int? width, int? height, bool? isDefault}) Icon
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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