ImageContent constructor

const ImageContent({
  1. String? imageUrl,
  2. String? base64Image,
})

Implementation

const ImageContent({this.imageUrl, this.base64Image})
  : assert(
      imageUrl != null || base64Image != null,
      'Either imageUrl or base64Image must be provided',
    );