discontinuedPackage tempcord_data_interface has been discontinued.

ProfileWithImage class abstract

A Profile that allow to store image.

Implemented types

Constructors

ProfileWithImage(String name, Animal animal, Uint8List? image)
Construct Profile with image.

Properties

animal → Animal
Animal type of this Profile.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
image → dynamic
image which encoded as Uint8List that repersenting Profile picture.
no setter
name → String
User name of this Profile.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateAnimal(Animal animal) → ProfileWithImage
Return a Profile with updated animal.
override
updateImage(Uint8List? image) → ProfileWithImage
Return ProfileWithImage that contains new image.
updateName(String name) → ProfileWithImage
Return a Profile with updated name.
override

Operators

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