AIImageData.fromBytes constructor
AIImageData.fromBytes(
- Uint8List bytes
从iOS的二进制数据创建
Implementation
factory AIImageData.fromBytes(Uint8List bytes) {
return AIImageData(
bytes: bytes,
size: bytes.length,
source: ImageDataSource.ios,
);
}