JsonImage constructor
JsonImage({
- String? imageUri,
- ByteBuffer? byteBuffer,
Creates a new instance of JsonImage.
Implementation
JsonImage({
super.imageUri,
super.byteBuffer,
}) {
if (imageUri == null && byteBuffer == null) {
throw Exception('Invalid JsonImage');
}
}