ImageContent class

图片消息

Constructors

ImageContent({required String imageName, required String imagePath, required String imageUrl, required List<int> imageBytes, int width = 0, int height = 0, int size = 0})

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
getter/setter pair
imageBytes List<int>
getter/setter pair
imageName String
getter/setter pair
imagePath String
getter/setter pair
imageUrl String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
getter/setter pair
width int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(String content) ImageContent