ImageParameter constructor

const ImageParameter({
  1. required String imageUrl,
})

Creates a new image parameter.

imageUrl is the URL of the image.

Implementation

const ImageParameter({
  required this.imageUrl,
}) : super(
        type: ParameterType.image,
      );