DocumentParameter constructor

const DocumentParameter({
  1. required String documentUrl,
  2. String? filename,
})

Creates a new document parameter.

documentUrl is the URL of the document. filename is an optional filename to display.

Implementation

const DocumentParameter({
  required this.documentUrl,
  this.filename,
}) : super(
        type: ParameterType.document,
      );